Mojo struct
RoundMode
struct RoundMode
Aliases
HalfDown = RoundMode(0)
:HalfUp = RoundMode(1)
:Floor = RoundMode(2)
:Ceil = RoundMode(3)
:
Fields
- value (
Int
):
Implemented traits
AnyType
,
Copyable
,
ExplicitlyCopyable
,
Movable
,
UnknownDestructibility
Methods
__init__
@implicit
__init__(out self, value: Int)
__eq__
__eq__(self, other: Self) -> Bool
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!