pub struct WrappingWrapper<T>(pub T);Tuple Fields§
§0: TTrait Implementations§
Source§impl<T, TRhs> Add<TRhs> for WrappingWrapper<T>where
TRhs: Into<T>,
T: IWrappingOps<Output = T>,
impl<T, TRhs> Add<TRhs> for WrappingWrapper<T>where
TRhs: Into<T>,
T: IWrappingOps<Output = T>,
Source§impl<T: Clone> Clone for WrappingWrapper<T>
impl<T: Clone> Clone for WrappingWrapper<T>
Source§fn clone(&self) -> WrappingWrapper<T>
fn clone(&self) -> WrappingWrapper<T>
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 moreSource§impl<T: Debug> Debug for WrappingWrapper<T>
impl<T: Debug> Debug for WrappingWrapper<T>
Source§impl<T> Deref for WrappingWrapper<T>
impl<T> Deref for WrappingWrapper<T>
Source§impl<T> Display for WrappingWrapper<T>where
T: Display,
impl<T> Display for WrappingWrapper<T>where
T: Display,
Source§impl From<WrappingWrapper<i128>> for i128
impl From<WrappingWrapper<i128>> for i128
Source§fn from(wrapper: WrappingWrapper<Self>) -> Self
fn from(wrapper: WrappingWrapper<Self>) -> Self
Converts to this type from the input type.
Source§impl From<WrappingWrapper<i16>> for i16
impl From<WrappingWrapper<i16>> for i16
Source§fn from(wrapper: WrappingWrapper<Self>) -> Self
fn from(wrapper: WrappingWrapper<Self>) -> Self
Converts to this type from the input type.
Source§impl From<WrappingWrapper<i32>> for i32
impl From<WrappingWrapper<i32>> for i32
Source§fn from(wrapper: WrappingWrapper<Self>) -> Self
fn from(wrapper: WrappingWrapper<Self>) -> Self
Converts to this type from the input type.
Source§impl From<WrappingWrapper<i64>> for i64
impl From<WrappingWrapper<i64>> for i64
Source§fn from(wrapper: WrappingWrapper<Self>) -> Self
fn from(wrapper: WrappingWrapper<Self>) -> Self
Converts to this type from the input type.
Source§impl From<WrappingWrapper<i8>> for i8
impl From<WrappingWrapper<i8>> for i8
Source§fn from(wrapper: WrappingWrapper<Self>) -> Self
fn from(wrapper: WrappingWrapper<Self>) -> Self
Converts to this type from the input type.
Source§impl From<WrappingWrapper<isize>> for isize
impl From<WrappingWrapper<isize>> for isize
Source§fn from(wrapper: WrappingWrapper<Self>) -> Self
fn from(wrapper: WrappingWrapper<Self>) -> Self
Converts to this type from the input type.
Source§impl From<WrappingWrapper<u128>> for u128
impl From<WrappingWrapper<u128>> for u128
Source§fn from(wrapper: WrappingWrapper<Self>) -> Self
fn from(wrapper: WrappingWrapper<Self>) -> Self
Converts to this type from the input type.
Source§impl From<WrappingWrapper<u16>> for u16
impl From<WrappingWrapper<u16>> for u16
Source§fn from(wrapper: WrappingWrapper<Self>) -> Self
fn from(wrapper: WrappingWrapper<Self>) -> Self
Converts to this type from the input type.
Source§impl From<WrappingWrapper<u32>> for u32
impl From<WrappingWrapper<u32>> for u32
Source§fn from(wrapper: WrappingWrapper<Self>) -> Self
fn from(wrapper: WrappingWrapper<Self>) -> Self
Converts to this type from the input type.
Source§impl From<WrappingWrapper<u64>> for u64
impl From<WrappingWrapper<u64>> for u64
Source§fn from(wrapper: WrappingWrapper<Self>) -> Self
fn from(wrapper: WrappingWrapper<Self>) -> Self
Converts to this type from the input type.
Source§impl From<WrappingWrapper<u8>> for u8
impl From<WrappingWrapper<u8>> for u8
Source§fn from(wrapper: WrappingWrapper<Self>) -> Self
fn from(wrapper: WrappingWrapper<Self>) -> Self
Converts to this type from the input type.
Source§impl From<WrappingWrapper<usize>> for usize
impl From<WrappingWrapper<usize>> for usize
Source§fn from(wrapper: WrappingWrapper<Self>) -> Self
fn from(wrapper: WrappingWrapper<Self>) -> Self
Converts to this type from the input type.
Source§impl<T: Hash> Hash for WrappingWrapper<T>
impl<T: Hash> Hash for WrappingWrapper<T>
Source§impl<T> IUnaryWrappingOps for WrappingWrapper<T>
impl<T> IUnaryWrappingOps for WrappingWrapper<T>
type Output = WrappingWrapper<T>
fn wrapping_abs(self) -> Self::Output
fn wrapping_neg(self) -> Self::Output
fn wrapping_pow(self, rhs: u32) -> Self::Output
fn wrapping_shl(self, rhs: u32) -> Self::Output
fn wrapping_shr(self, rhs: u32) -> Self::Output
Source§impl<T> IWrappingOps<T> for WrappingWrapper<T>
impl<T> IWrappingOps<T> for WrappingWrapper<T>
fn wrapping_add(self, rhs: T) -> <Self as IUnaryWrappingOps>::Output
fn wrapping_div(self, rhs: T) -> <Self as IUnaryWrappingOps>::Output
fn wrapping_div_euclid(self, rhs: T) -> <Self as IUnaryWrappingOps>::Output
fn wrapping_mul(self, rhs: T) -> <Self as IUnaryWrappingOps>::Output
fn wrapping_rem(self, rhs: T) -> <Self as IUnaryWrappingOps>::Output
fn wrapping_rem_euclid(self, rhs: T) -> <Self as IUnaryWrappingOps>::Output
fn wrapping_sub(self, rhs: T) -> <Self as IUnaryWrappingOps>::Output
Source§impl<T: PartialEq> PartialEq for WrappingWrapper<T>
impl<T: PartialEq> PartialEq for WrappingWrapper<T>
Source§impl<T: PartialOrd> PartialOrd for WrappingWrapper<T>
impl<T: PartialOrd> PartialOrd for WrappingWrapper<T>
impl<T: Copy> Copy for WrappingWrapper<T>
impl<T: Eq> Eq for WrappingWrapper<T>
impl<T> StructuralPartialEq for WrappingWrapper<T>
Auto Trait Implementations§
impl<T> Freeze for WrappingWrapper<T>where
T: Freeze,
impl<T> RefUnwindSafe for WrappingWrapper<T>where
T: RefUnwindSafe,
impl<T> Send for WrappingWrapper<T>where
T: Send,
impl<T> Sync for WrappingWrapper<T>where
T: Sync,
impl<T> Unpin for WrappingWrapper<T>where
T: Unpin,
impl<T> UnwindSafe for WrappingWrapper<T>where
T: UnwindSafe,
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