Skip to main content

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?