Enum NumberSign
pub enum NumberSign {
Negative,
Zero,
Positive,
}Expand description
Sign classes for raw numeric values that are not NaN.
Variants§
Negative
The value is below zero.
Zero
The value is equal to zero, including -0.0.
Positive
The value is above zero.
Trait Implementations§
§impl Clone for NumberSign
impl Clone for NumberSign
§fn clone(&self) -> NumberSign
fn clone(&self) -> NumberSign
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for NumberSign
impl Debug for NumberSign
§impl PartialEq for NumberSign
impl PartialEq for NumberSign
impl Copy for NumberSign
impl Eq for NumberSign
impl StructuralPartialEq for NumberSign
Auto Trait Implementations§
impl Freeze for NumberSign
impl RefUnwindSafe for NumberSign
impl Send for NumberSign
impl Sync for NumberSign
impl Unpin for NumberSign
impl UnsafeUnpin for NumberSign
impl UnwindSafe for NumberSign
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more