Mojo trait
OptionallyStaticInt
Implemented traits
AnyType
,
Intable
,
UnknownDestructibility
Aliases
__del__is_trivial
alias __del__is_trivial
A flag (often compiler generated) to indicate whether the implementation of __del__
is trivial.
The implementation of __del__
is considered to be trivial if:
- The struct has a compiler-generated trivial destructor and all its fields
have a trivial
__del__
method.
In practice, it means that the __del__
can be considered as no-op.
static_value
alias static_value
Methods
as_uint32
__int__
__int__(self: _Self) -> Int
Get the integral representation of the value.
Returns:
Int
: The integral representation of the value.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!