Mojo struct
EnableState
@register_passable(trivial)
struct EnableState
Fields
- code (
SIMD[int32, 1]
):
Implemented traits
AnyType
,
Copyable
,
EqualityComparable
,
Movable
,
UnknownDestructibility
Aliases
DISABLED
alias DISABLED = EnableState(__init__[__mlir_type.!pop.int_literal](0))
Feature disabled
ENABLED
alias ENABLED = EnableState(__init__[__mlir_type.!pop.int_literal](1))
Feature enabled
Methods
__eq__
__eq__(self, other: Self) -> Bool
__ne__
__ne__(self, other: Self) -> Bool
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!