Struct relp_num::Zero [−][src]
pub struct Zero;
Expand description
Zero
A ZST who’s value is always zero.
Can be used in specific situations where one knows that, for example, the right-hand side b
is
always zero. Operations related to b
should then be compiled away because the operations on
its elements are no-ops.
Trait Implementations
Performs the +=
operation. Read more
Performs the +=
operation. Read more
Performs the +=
operation. Read more
Performs the +=
operation. Read more
Performs the +=
operation. Read more
Performs the +=
operation. Read more
Performs the +=
operation. Read more
Performs the +=
operation. Read more
Performs the +=
operation. Read more
Performs the +=
operation. Read more
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Whether the number is (strictly) greater than zero.
Whether the number is (strictly) smaller than zero.
Auto Trait Implementations
impl RefUnwindSafe for Zero
impl UnwindSafe for Zero
Blanket Implementations
Mutably borrows from an owned value. Read more