Skip to main content

Mojo struct

DynamicInt

struct DynamicInt

Fields

  • value (UInt32):

Implemented traits

AnyType, Copyable, ImplicitlyCopyable, ImplicitlyDestructible, Intable, Movable, OptionallyStaticInt, RegisterPassable, TrivialRegisterPassable

comptime members

static_value

comptime static_value = Optional(None)

Methods

__init__

__init__(value: Int) -> Self

__int__

__int__(self) -> Int

Returns:

Int

as_uint32

as_uint32(self) -> UInt32

Returns:

UInt32

Was this page helpful?