Skip to main content

Mojo struct

MaskName

struct MaskName

A tile's masking status.

Fields

  • name (String):

Implemented traits

AnyType, Stringable, UnknownDestructibility

Aliases

__del__is_trivial

comptime __del__is_trivial = False

CAUSAL

comptime CAUSAL = MaskName("causal")

CHUNKED

comptime CHUNKED = MaskName("chunked")

CHUNKED_CAUSAL

comptime CHUNKED_CAUSAL = MaskName("chunked_causal")

MATERIALIZED

comptime MATERIALIZED = MaskName("materialized")

NULL

comptime NULL = MaskName("null")

SLIDING_WINDOW_CAUSAL

comptime SLIDING_WINDOW_CAUSAL = MaskName("sliding_window_causal")

Methods

__init__

__init__(out self, name: String)

__eq__

__eq__(self, rhs: Self) -> Bool

Returns:

Bool

__eq__(self, rhs: String) -> Bool

Returns:

Bool

__ne__

__ne__(self, rhs: Self) -> Bool

Returns:

Bool

__str__

__str__(self) -> String

Returns:

String

Was this page helpful?