Skip to main content
Log in

Mojo struct

IO

@register_passable(trivial) struct IO

Aliases

  • Unknown = IO(-1):
  • Output = IO(0):
  • Input = IO(1):
  • FusedInput = IO(2):
  • FusedOutput = IO(3):

Fields

  • value (Int):

Implemented traits

AnyType, Copyable, ExplicitlyCopyable, Movable, UnknownDestructibility

Methods

__init__

__init__(value: Int) -> Self

__eq__

__eq__(self, other: Self) -> Bool