Mojo struct
StaticInt
struct StaticInt[value: Int]
Implemented traits
AnyType,
Copyable,
Defaultable,
ImplicitlyCopyable,
ImplicitlyDestructible,
Intable,
Movable,
OptionallyStaticInt,
RegisterPassable,
TrivialRegisterPassable
comptime members
static_value
comptime static_value = Optional(value)
Methods
__init__
__init__() -> Self
__int__
as_uint32
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!