Mojo struct
IO
struct IO
Fieldsβ
- βvalue (
SIMDSize):
Implemented traitsβ
AnyType,
Copyable,
ImplicitlyCopyable,
ImplicitlyDestructible,
Movable,
RegisterPassable,
TrivialRegisterPassable
comptime membersβ
FusedInputβ
comptime FusedInput = IO(2)
FusedOutputβ
comptime FusedOutput = IO(3)
Inputβ
comptime Input = IO(1)
Outputβ
comptime Output = IO(0)
Unknownβ
comptime Unknown = IO(-1)
Methodsβ
__init__β
__init__(value: Int) -> Self
__eq__β
__ne__β
is_fusedβ
is_fused(self) -> Bool
True when this IO represents any fused variant (input, output, or compute-output).
Returns:
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!