Mojo struct
RoundMode
struct RoundMode
Fields
- value (
Int
):
Implemented traits
AnyType
,
Copyable
,
ExplicitlyCopyable
,
Movable
,
UnknownDestructibility
Aliases
Ceil
alias Ceil = RoundMode(3)
Floor
alias Floor = RoundMode(2)
HalfDown
alias HalfDown = RoundMode(0)
HalfUp
alias HalfUp = RoundMode(1)
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!