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
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!