IMPORTANT: To view this page as Markdown, append `.md` to the URL (e.g. /max/get-started.md). For the complete documentation index, see llms.txt.
Skip to main content
For the complete documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /max/get-started.md).

Mojo struct

TileMaskStatus

struct TileMaskStatus

A tile's masking status.

Fields​

  • ​status (UInt8):

Implemented traits​

AnyType, Copyable, Equatable, Identifiable, ImplicitlyCopyable, ImplicitlyDeletable, 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__​

def __eq__(self, rhs: Self) -> Bool

Returns:

Bool

__ne__​

def __ne__(self, rhs: Self) -> Bool

Returns:

Bool

__is__​

def __is__(self, rhs: Self) -> Bool

Returns:

Bool

__and__​

def __and__(self, rhs: Self) -> Self

__or__​

def __or__(self, rhs: Self) -> Self

write_to​

def write_to(self, mut writer: T)