Skip to main content

Mojo struct

TileMaskStatus

struct TileMaskStatus

A tile's masking status.

Fields​

  • ​status (UInt8):

Implemented traits​

AnyType, Copyable, Equatable, Identifiable, ImplicitlyCopyable, ImplicitlyDestructible, Movable, RegisterPassable, TrivialRegisterPassable, Writable

comptime members​

FULL_MASK​

comptime FULL_MASK = TileMaskStatus(UInt8(3))

NO_MASK​

comptime NO_MASK = TileMaskStatus(UInt8(0))

PARTIAL_MASK​

comptime PARTIAL_MASK = TileMaskStatus(UInt8(1))

UNKNOWN_MASK​

comptime UNKNOWN_MASK = TileMaskStatus(UInt8(4))

Methods​

__eq__​

__eq__(self, rhs: Self) -> Bool

Returns:

Bool

__ne__​

__ne__(self, rhs: Self) -> Bool

Returns:

Bool

__is__​

__is__(self, rhs: Self) -> Bool

Returns:

Bool

__and__​

__and__(self, rhs: Self) -> Self

__or__​

__or__(self, rhs: Self) -> Self

write_to​

write_to(self, mut writer: T)