class Vec

Defined at line 532 of file fidling/gen/sdk/fidl/fuchsia.math/fuchsia.math/cpp/fidl/fuchsia.math/cpp/natural_types.h

Represents a 2D vector with integer coordinates.

This type does not specify units. Protocols that use this type should

specify the characteristics of the vector space, including orientation and

units.

Public Methods

void Vec (Storage_ storage)
void Vec (int32_t x, int32_t y)
void Vec ()

Default constructs a |Vec| only if all of its members are default constructible.

Defined at line 543 of file fidling/gen/sdk/fidl/fuchsia.math/fuchsia.math/cpp/fidl/fuchsia.math/cpp/natural_types.h

void Vec (Vec && )

Defined at line 546 of file fidling/gen/sdk/fidl/fuchsia.math/fuchsia.math/cpp/fidl/fuchsia.math/cpp/natural_types.h

void Vec (const Vec & other)
Vec & operator= (Vec && )

Defined at line 547 of file fidling/gen/sdk/fidl/fuchsia.math/fuchsia.math/cpp/fidl/fuchsia.math/cpp/natural_types.h

Vec & operator= (const Vec & other)
bool operator== (const Vec & other)
bool operator!= (const Vec & other)
int32_t x ()
int32_t & x ()
Vec & x (int32_t value)

Setter for x.

int32_t y ()
int32_t & y ()
Vec & y (int32_t value)

Setter for y.

void Vec (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Friends

class MemberVisitor
class NaturalStructCodingTraits