Skip to main content

Mojo struct

MaskName

struct MaskName

A tile's masking status.

Fields

  • name (String):

Implemented traits

AnyType, ImplicitlyDestructible, Writable

comptime members

CAUSAL

comptime CAUSAL = MaskName(String("causal"))

CHUNKED

comptime CHUNKED = MaskName(String("chunked"))

CHUNKED_CAUSAL

comptime CHUNKED_CAUSAL = MaskName(String("chunked_causal"))

MATERIALIZED

comptime MATERIALIZED = MaskName(String("materialized"))

NULL

comptime NULL = MaskName(String("null"))

SLIDING_WINDOW_CAUSAL

comptime SLIDING_WINDOW_CAUSAL = MaskName(String("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

write_to

write_to(self, mut writer: T)

Writes the mask name.

Args:

  • writer (T): The writer to write to.

Was this page helpful?