pub struct Instance<T, U>(pub T, _);
Tuple Fields§
§0: T
Implementations§
Trait Implementations§
Source§impl<T: AddAssign, U> AddAssign for Instance<T, U>
impl<T: AddAssign, U> AddAssign for Instance<T, U>
Source§fn add_assign(&mut self, other: Self)
fn add_assign(&mut self, other: Self)
Performs the
+=
operation. Read moreSource§impl<T: BitAndAssign, U> BitAndAssign for Instance<T, U>
impl<T: BitAndAssign, U> BitAndAssign for Instance<T, U>
Source§fn bitand_assign(&mut self, other: Self)
fn bitand_assign(&mut self, other: Self)
Performs the
&=
operation. Read moreSource§impl<T: BitOrAssign, U> BitOrAssign for Instance<T, U>
impl<T: BitOrAssign, U> BitOrAssign for Instance<T, U>
Source§fn bitor_assign(&mut self, other: Self)
fn bitor_assign(&mut self, other: Self)
Performs the
|=
operation. Read moreSource§impl<T: BitXorAssign, U> BitXorAssign for Instance<T, U>
impl<T: BitXorAssign, U> BitXorAssign for Instance<T, U>
Source§fn bitxor_assign(&mut self, other: Self)
fn bitxor_assign(&mut self, other: Self)
Performs the
^=
operation. Read moreSource§impl<T: DivAssign, U> DivAssign for Instance<T, U>
impl<T: DivAssign, U> DivAssign for Instance<T, U>
Source§fn div_assign(&mut self, other: Self)
fn div_assign(&mut self, other: Self)
Performs the
/=
operation. Read moreSource§impl<T: MulAssign, U> MulAssign for Instance<T, U>
impl<T: MulAssign, U> MulAssign for Instance<T, U>
Source§fn mul_assign(&mut self, other: Self)
fn mul_assign(&mut self, other: Self)
Performs the
*=
operation. Read moreSource§impl<T: Ord, U> Ord for Instance<T, U>
impl<T: Ord, U> Ord for Instance<T, U>
Source§impl<T: PartialOrd, U> PartialOrd for Instance<T, U>
impl<T: PartialOrd, U> PartialOrd for Instance<T, U>
Source§impl<T: RemAssign, U> RemAssign for Instance<T, U>
impl<T: RemAssign, U> RemAssign for Instance<T, U>
Source§fn rem_assign(&mut self, other: Self)
fn rem_assign(&mut self, other: Self)
Performs the
%=
operation. Read moreSource§impl<T: ShlAssign, U> ShlAssign for Instance<T, U>
impl<T: ShlAssign, U> ShlAssign for Instance<T, U>
Source§fn shl_assign(&mut self, other: Self)
fn shl_assign(&mut self, other: Self)
Performs the
<<=
operation. Read moreSource§impl<T: ShrAssign, U> ShrAssign for Instance<T, U>
impl<T: ShrAssign, U> ShrAssign for Instance<T, U>
Source§fn shr_assign(&mut self, other: Self)
fn shr_assign(&mut self, other: Self)
Performs the
>>=
operation. Read moreSource§impl<T: SubAssign, U> SubAssign for Instance<T, U>
impl<T: SubAssign, U> SubAssign for Instance<T, U>
Source§fn sub_assign(&mut self, other: Self)
fn sub_assign(&mut self, other: Self)
Performs the
-=
operation. Read moreimpl<T: Eq, U> Eq for Instance<T, U>
Auto Trait Implementations§
impl<T, U> Freeze for Instance<T, U>where
T: Freeze,
impl<T, U> RefUnwindSafe for Instance<T, U>where
T: RefUnwindSafe,
U: RefUnwindSafe,
impl<T, U> Send for Instance<T, U>
impl<T, U> Sync for Instance<T, U>
impl<T, U> Unpin for Instance<T, U>
impl<T, U> UnwindSafe for Instance<T, U>where
T: UnwindSafe,
U: UnwindSafe,
Blanket Implementations§
Source§impl<T> BitAndAssign for Twhere
T: Dyn + BitAndAssign,
impl<T> BitAndAssign for Twhere
T: Dyn + BitAndAssign,
fn dyn_bitand_assign(&mut self, other: Box<dyn Any>)
Source§impl<T> BitOrAssign for Twhere
T: Dyn + BitOrAssign,
impl<T> BitOrAssign for Twhere
T: Dyn + BitOrAssign,
fn dyn_bitor_assign(&mut self, other: Box<dyn Any>)
Source§impl<T> BitXorAssign for Twhere
T: Dyn + BitXorAssign,
impl<T> BitXorAssign for Twhere
T: Dyn + BitXorAssign,
fn dyn_bitxor_assign(&mut self, other: Box<dyn Any>)
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