#[repr(i8)]pub enum Wrap {
Negative = -1,
None = 0,
Positive = 1,
}Expand description
Wrap classification
Variants§
Negative = -1
A wrap occured in the negative direction
None = 0
No wrap, the wrapped difference between successive values has the same sign as their comparison
Positive = 1
A wrap occurred in the positive direction
Trait Implementations§
Source§impl AddAssign for Wrap
impl AddAssign for Wrap
Source§fn add_assign(&mut self, rhs: Self)
fn add_assign(&mut self, rhs: Self)
Performs the
+= operation. Read moreSource§impl<'de> Deserialize<'de> for Wrap
impl<'de> Deserialize<'de> for Wrap
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Ord for Wrap
impl Ord for Wrap
Source§impl PartialOrd for Wrap
impl PartialOrd for Wrap
impl Copy for Wrap
impl Eq for Wrap
impl StructuralPartialEq for Wrap
Auto Trait Implementations§
impl Freeze for Wrap
impl RefUnwindSafe for Wrap
impl Send for Wrap
impl Sync for Wrap
impl Unpin for Wrap
impl UnwindSafe for Wrap
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