Skip to content

LineAction

Mojo struct 🡭

@register_passable_trivial
struct LineAction

The action a LinePolicy returns for a given line.

  • YIELD = LineAction(UInt8(0))
  • SKIP = LineAction(UInt8(1))
  • METADATA = LineAction(UInt8(2))
  • HEADER = LineAction(UInt8(3))
  • STOP = LineAction(UInt8(4))

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

fn __eq__(self, other: Self) -> Bool

Args:

  • self (Self)
  • other (Self)

Returns:

Bool