Mojo struct
IO
@register_passable(trivial)
struct IO
Fields
- value (
Int
):
Implemented traits
AnyType
,
Copyable
,
ExplicitlyCopyable
,
Movable
,
UnknownDestructibility
Aliases
FusedInput
alias FusedInput = IO(2)
FusedOutput
alias FusedOutput = IO(3)
Input
alias Input = IO(1)
Output
alias Output = IO(0)
Unknown
alias Unknown = IO(-1)
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!