LineAction
Mojo struct 🡭
LineAction
Section titled “LineAction”@register_passable_trivialstruct LineActionThe action a LinePolicy returns for a given line.
Aliases
Section titled “Aliases”YIELD = LineAction(0)SKIP = LineAction(1)METADATA = LineAction(2)HEADER = LineAction(3)STOP = LineAction(4)
Implemented traits
Section titled “Implemented traits”AnyType, Copyable, Equatable, ImplicitlyCopyable, ImplicitlyDestructible, Movable, RegisterPassable, TrivialRegisterPassable, Writable
Methods
Section titled “Methods”__eq__
Section titled “__eq__”def __eq__(self, other: Self) -> BoolArgs:
- self (
Self) - other (
Self)
Returns:
Bool