Mojo struct
Major
@register_passable(trivial)
struct Major
Fields
- val (
Int
):
Implemented traits
AnyType
,
Copyable
,
Movable
,
UnknownDestructibility
Aliases
K
alias K = Major(0)
MN
alias MN = Major(1)
Methods
__eq__
__eq__(self, rhs: Self) -> Bool
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!