pub enum IntegerSign {
Negative,
Zero,
Positive,
}Expand description
Sign classification for a signed integer value.
Variants§
Trait Implementations§
Source§impl Clone for IntegerSign
impl Clone for IntegerSign
Source§fn clone(&self) -> IntegerSign
fn clone(&self) -> IntegerSign
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IntegerSign
impl Debug for IntegerSign
Source§impl PartialEq for IntegerSign
impl PartialEq for IntegerSign
Source§fn eq(&self, other: &IntegerSign) -> bool
fn eq(&self, other: &IntegerSign) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for IntegerSign
impl Eq for IntegerSign
impl StructuralPartialEq for IntegerSign
Auto Trait Implementations§
impl Freeze for IntegerSign
impl RefUnwindSafe for IntegerSign
impl Send for IntegerSign
impl Sync for IntegerSign
impl Unpin for IntegerSign
impl UnsafeUnpin for IntegerSign
impl UnwindSafe for IntegerSign
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