[−][src]Enum as_is::IsMut
Represents an owned or a mutably borrowed data.
Variants
Owned(T::Owned)
Owned data.
MutBorrowed(&'a mut T)
Mutably borrowed data.
Trait Implementations
impl<T: ?Sized, U, O, '_> Add<U> for IsMut<'_, T> where
T: ToOwned,
&'a T: Add<Owned<U>, Output = O> + Add<&'b U::Is, Output = O>,
T::Owned: BorrowMut<T> + Add<Owned<U>, Output = O> + Add<&'a U::Is, Output = O>,
U: AsIs,
[src]
T: ToOwned,
&'a T: Add<Owned<U>, Output = O> + Add<&'b U::Is, Output = O>,
T::Owned: BorrowMut<T> + Add<Owned<U>, Output = O> + Add<&'a U::Is, Output = O>,
U: AsIs,
type Output = O
The resulting type after applying the +
operator.
fn add(self, rhs: U) -> Self::Output
[src]
impl<T: ?Sized, U, '_> AddAssign<U> for IsMut<'_, T> where
T: ToOwned + AddAssign<Owned<U>> + AddAssign<&'a U::Is>,
T::Owned: BorrowMut<T>,
U: AsIs,
[src]
T: ToOwned + AddAssign<Owned<U>> + AddAssign<&'a U::Is>,
T::Owned: BorrowMut<T>,
U: AsIs,
fn add_assign(&mut self, rhs: U)
[src]
impl<T: ?Sized, '_> AsIs for IsMut<'_, T> where
T: ToOwned,
T::Owned: BorrowMut<T>,
[src]
T: ToOwned,
T::Owned: BorrowMut<T>,
type Is = T
fn as_is<'a>(self) -> Is<'a, T> where
Self: 'a,
[src]
Self: 'a,
fn into_is_cow<'a>(self) -> IsCow<'a, Self::Is> where
Self: 'a,
[src]
Self: 'a,
fn into_is_mut<'a>(self) -> IsMut<'a, Self::Is> where
Self: 'a,
Owned<Self>: BorrowMut<Self::Is>,
[src]
Self: 'a,
Owned<Self>: BorrowMut<Self::Is>,
fn into_owned(self) -> Owned<Self>
[src]
fn into_cow<'a>(self) -> Cow<'a, Self::Is> where
Self: 'a,
[src]
Self: 'a,
impl<T: ?Sized, U: ?Sized, '_> AsMut<U> for IsMut<'_, T> where
T: ToOwned + AsMut<U>,
T::Owned: BorrowMut<T>,
[src]
T: ToOwned + AsMut<U>,
T::Owned: BorrowMut<T>,
impl<T: ?Sized, U: ?Sized, '_> AsRef<U> for IsMut<'_, T> where
T: ToOwned + AsRef<U>,
T::Owned: BorrowMut<T>,
[src]
T: ToOwned + AsRef<U>,
T::Owned: BorrowMut<T>,
impl<T: ?Sized, '_> Binary for IsMut<'_, T> where
T: ToOwned + Binary,
T::Owned: BorrowMut<T>,
[src]
T: ToOwned + Binary,
T::Owned: BorrowMut<T>,
impl<T: ?Sized, U, O, '_> BitAnd<U> for IsMut<'_, T> where
T: ToOwned,
&'a T: BitAnd<Owned<U>, Output = O> + BitAnd<&'b U::Is, Output = O>,
T::Owned: BorrowMut<T> + BitAnd<Owned<U>, Output = O> + BitAnd<&'a U::Is, Output = O>,
U: AsIs,
[src]
T: ToOwned,
&'a T: BitAnd<Owned<U>, Output = O> + BitAnd<&'b U::Is, Output = O>,
T::Owned: BorrowMut<T> + BitAnd<Owned<U>, Output = O> + BitAnd<&'a U::Is, Output = O>,
U: AsIs,
type Output = O
The resulting type after applying the &
operator.
fn bitand(self, rhs: U) -> Self::Output
[src]
impl<T: ?Sized, U, '_> BitAndAssign<U> for IsMut<'_, T> where
T: ToOwned + BitAndAssign<Owned<U>> + BitAndAssign<&'a U::Is>,
T::Owned: BorrowMut<T>,
U: AsIs,
[src]
T: ToOwned + BitAndAssign<Owned<U>> + BitAndAssign<&'a U::Is>,
T::Owned: BorrowMut<T>,
U: AsIs,
fn bitand_assign(&mut self, rhs: U)
[src]
impl<T: ?Sized, U, O, '_> BitOr<U> for IsMut<'_, T> where
T: ToOwned,
&'a T: BitOr<Owned<U>, Output = O> + BitOr<&'b U::Is, Output = O>,
T::Owned: BorrowMut<T> + BitOr<Owned<U>, Output = O> + BitOr<&'a U::Is, Output = O>,
U: AsIs,
[src]
T: ToOwned,
&'a T: BitOr<Owned<U>, Output = O> + BitOr<&'b U::Is, Output = O>,
T::Owned: BorrowMut<T> + BitOr<Owned<U>, Output = O> + BitOr<&'a U::Is, Output = O>,
U: AsIs,
type Output = O
The resulting type after applying the |
operator.
fn bitor(self, rhs: U) -> Self::Output
[src]
impl<T: ?Sized, U, '_> BitOrAssign<U> for IsMut<'_, T> where
T: ToOwned + BitOrAssign<Owned<U>> + BitOrAssign<&'a U::Is>,
T::Owned: BorrowMut<T>,
U: AsIs,
[src]
T: ToOwned + BitOrAssign<Owned<U>> + BitOrAssign<&'a U::Is>,
T::Owned: BorrowMut<T>,
U: AsIs,
fn bitor_assign(&mut self, rhs: U)
[src]
impl<T: ?Sized, U, O, '_> BitXor<U> for IsMut<'_, T> where
T: ToOwned,
&'a T: BitXor<Owned<U>, Output = O> + BitXor<&'b U::Is, Output = O>,
T::Owned: BorrowMut<T> + BitXor<Owned<U>, Output = O> + BitXor<&'a U::Is, Output = O>,
U: AsIs,
[src]
T: ToOwned,
&'a T: BitXor<Owned<U>, Output = O> + BitXor<&'b U::Is, Output = O>,
T::Owned: BorrowMut<T> + BitXor<Owned<U>, Output = O> + BitXor<&'a U::Is, Output = O>,
U: AsIs,
type Output = O
The resulting type after applying the ^
operator.
fn bitxor(self, rhs: U) -> Self::Output
[src]
impl<T: ?Sized, U, '_> BitXorAssign<U> for IsMut<'_, T> where
T: ToOwned + BitXorAssign<Owned<U>> + BitXorAssign<&'a U::Is>,
T::Owned: BorrowMut<T>,
U: AsIs,
[src]
T: ToOwned + BitXorAssign<Owned<U>> + BitXorAssign<&'a U::Is>,
T::Owned: BorrowMut<T>,
U: AsIs,
fn bitxor_assign(&mut self, rhs: U)
[src]
impl<T: ?Sized, '_> Borrow<T> for IsMut<'_, T> where
T: ToOwned,
T::Owned: BorrowMut<T>,
[src]
T: ToOwned,
T::Owned: BorrowMut<T>,
impl<T: ?Sized, '_> BorrowMut<T> for IsMut<'_, T> where
T: ToOwned,
T::Owned: BorrowMut<T>,
[src]
T: ToOwned,
T::Owned: BorrowMut<T>,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T: ?Sized, '_> Clone for IsMut<'_, T> where
T: ToOwned,
T::Owned: BorrowMut<T> + Clone,
[src]
T: ToOwned,
T::Owned: BorrowMut<T> + Clone,
fn clone(&self) -> Self
[src]
fn clone_from(&mut self, source: &Self)
[src]
impl<'a, T: Debug + ?Sized> Debug for IsMut<'a, T> where
T: ToOwned,
T::Owned: BorrowMut<T>,
T::Owned: Debug,
[src]
T: ToOwned,
T::Owned: BorrowMut<T>,
T::Owned: Debug,
impl<T: ?Sized, '_> Default for IsMut<'_, T> where
T: ToOwned,
T::Owned: BorrowMut<T> + Default,
[src]
T: ToOwned,
T::Owned: BorrowMut<T> + Default,
impl<T: ?Sized, '_> Deref for IsMut<'_, T> where
T: ToOwned,
T::Owned: BorrowMut<T>,
[src]
T: ToOwned,
T::Owned: BorrowMut<T>,
impl<T: ?Sized, '_> DerefMut for IsMut<'_, T> where
T: ToOwned,
T::Owned: BorrowMut<T>,
[src]
T: ToOwned,
T::Owned: BorrowMut<T>,
impl<T: ?Sized, '_> Display for IsMut<'_, T> where
T: ToOwned + Display,
T::Owned: BorrowMut<T>,
[src]
T: ToOwned + Display,
T::Owned: BorrowMut<T>,
impl<T: ?Sized, U, O, '_> Div<U> for IsMut<'_, T> where
T: ToOwned,
&'a T: Div<Owned<U>, Output = O> + Div<&'b U::Is, Output = O>,
T::Owned: BorrowMut<T> + Div<Owned<U>, Output = O> + Div<&'a U::Is, Output = O>,
U: AsIs,
[src]
T: ToOwned,
&'a T: Div<Owned<U>, Output = O> + Div<&'b U::Is, Output = O>,
T::Owned: BorrowMut<T> + Div<Owned<U>, Output = O> + Div<&'a U::Is, Output = O>,
U: AsIs,
type Output = O
The resulting type after applying the /
operator.
fn div(self, rhs: U) -> Self::Output
[src]
impl<T: ?Sized, U, '_> DivAssign<U> for IsMut<'_, T> where
T: ToOwned + DivAssign<Owned<U>> + DivAssign<&'a U::Is>,
T::Owned: BorrowMut<T>,
U: AsIs,
[src]
T: ToOwned + DivAssign<Owned<U>> + DivAssign<&'a U::Is>,
T::Owned: BorrowMut<T>,
U: AsIs,
fn div_assign(&mut self, rhs: U)
[src]
impl<T: ?Sized, '_> Eq for IsMut<'_, T> where
T: ToOwned + Eq,
T::Owned: BorrowMut<T>,
[src]
T: ToOwned + Eq,
T::Owned: BorrowMut<T>,
impl<T: ?Sized, '_> Hash for IsMut<'_, T> where
T: ToOwned + Hash,
T::Owned: BorrowMut<T>,
[src]
T: ToOwned + Hash,
T::Owned: BorrowMut<T>,
fn hash<H: Hasher>(&self, state: &mut H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl<T: ?Sized, '_> LowerExp for IsMut<'_, T> where
T: ToOwned + LowerExp,
T::Owned: BorrowMut<T>,
[src]
T: ToOwned + LowerExp,
T::Owned: BorrowMut<T>,
impl<T: ?Sized, '_> LowerHex for IsMut<'_, T> where
T: ToOwned + LowerHex,
T::Owned: BorrowMut<T>,
[src]
T: ToOwned + LowerHex,
T::Owned: BorrowMut<T>,
impl<T: ?Sized, U, O, '_> Mul<U> for IsMut<'_, T> where
T: ToOwned,
&'a T: Mul<Owned<U>, Output = O> + Mul<&'b U::Is, Output = O>,
T::Owned: BorrowMut<T> + Mul<Owned<U>, Output = O> + Mul<&'a U::Is, Output = O>,
U: AsIs,
[src]
T: ToOwned,
&'a T: Mul<Owned<U>, Output = O> + Mul<&'b U::Is, Output = O>,
T::Owned: BorrowMut<T> + Mul<Owned<U>, Output = O> + Mul<&'a U::Is, Output = O>,
U: AsIs,
type Output = O
The resulting type after applying the *
operator.
fn mul(self, rhs: U) -> Self::Output
[src]
impl<T: ?Sized, U, '_> MulAssign<U> for IsMut<'_, T> where
T: ToOwned + MulAssign<Owned<U>> + MulAssign<&'a U::Is>,
T::Owned: BorrowMut<T>,
U: AsIs,
[src]
T: ToOwned + MulAssign<Owned<U>> + MulAssign<&'a U::Is>,
T::Owned: BorrowMut<T>,
U: AsIs,
fn mul_assign(&mut self, rhs: U)
[src]
impl<T: ?Sized, O, '_> Neg for IsMut<'_, T> where
T: ToOwned,
T::Owned: BorrowMut<T> + Neg<Output = O>,
&'a T: Neg<Output = O>,
[src]
T: ToOwned,
T::Owned: BorrowMut<T> + Neg<Output = O>,
&'a T: Neg<Output = O>,
impl<T: ?Sized, O, '_> Not for IsMut<'_, T> where
T: ToOwned,
T::Owned: BorrowMut<T> + Not<Output = O>,
&'a T: Not<Output = O>,
[src]
T: ToOwned,
T::Owned: BorrowMut<T> + Not<Output = O>,
&'a T: Not<Output = O>,
impl<T: ?Sized, '_> Octal for IsMut<'_, T> where
T: ToOwned + Octal,
T::Owned: BorrowMut<T>,
[src]
T: ToOwned + Octal,
T::Owned: BorrowMut<T>,
impl<T: ?Sized, '_> Ord for IsMut<'_, T> where
T: ToOwned + Ord,
T::Owned: BorrowMut<T>,
[src]
T: ToOwned + Ord,
T::Owned: BorrowMut<T>,
fn cmp(&self, other: &Self) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl<T: ?Sized, U: ?Sized, '_, '_> PartialEq<Is<'_, U>> for IsMut<'_, T> where
T: ToOwned + PartialEq<U>,
T::Owned: BorrowMut<T>,
U: ToOwned,
[src]
T: ToOwned + PartialEq<U>,
T::Owned: BorrowMut<T>,
U: ToOwned,
impl<T: ?Sized, U: ?Sized, '_, '_> PartialEq<IsCow<'_, U>> for IsMut<'_, T> where
T: ToOwned + PartialEq<U>,
T::Owned: BorrowMut<T>,
U: ToOwned,
[src]
T: ToOwned + PartialEq<U>,
T::Owned: BorrowMut<T>,
U: ToOwned,
fn eq(&self, other: &IsCow<'_, U>) -> bool
[src]
#[must_use]fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<T: ?Sized, U: ?Sized, '_, '_> PartialEq<IsMut<'_, U>> for Is<'_, T> where
T: ToOwned + PartialEq<U>,
U: ToOwned,
U::Owned: BorrowMut<U>,
[src]
T: ToOwned + PartialEq<U>,
U: ToOwned,
U::Owned: BorrowMut<U>,
fn eq(&self, other: &IsMut<'_, U>) -> bool
[src]
#[must_use]fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<T: ?Sized, U: ?Sized, '_, '_> PartialEq<IsMut<'_, U>> for IsCow<'_, T> where
T: ToOwned + PartialEq<U>,
U: ToOwned,
U::Owned: BorrowMut<U>,
[src]
T: ToOwned + PartialEq<U>,
U: ToOwned,
U::Owned: BorrowMut<U>,
fn eq(&self, other: &IsMut<'_, U>) -> bool
[src]
#[must_use]fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<T: ?Sized, U: ?Sized, '_, '_> PartialEq<IsMut<'_, U>> for IsMut<'_, T> where
T: ToOwned + PartialEq<U>,
T::Owned: BorrowMut<T>,
U: ToOwned,
U::Owned: BorrowMut<U>,
[src]
T: ToOwned + PartialEq<U>,
T::Owned: BorrowMut<T>,
U: ToOwned,
U::Owned: BorrowMut<U>,
fn eq(&self, other: &IsMut<'_, U>) -> bool
[src]
#[must_use]fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<T: ?Sized, U: ?Sized, '_, '_> PartialOrd<Is<'_, U>> for IsMut<'_, T> where
T: ToOwned + PartialOrd<U>,
T::Owned: BorrowMut<T>,
U: ToOwned,
[src]
T: ToOwned + PartialOrd<U>,
T::Owned: BorrowMut<T>,
U: ToOwned,
fn partial_cmp(&self, other: &Is<'_, U>) -> Option<Ordering>
[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<T: ?Sized, U: ?Sized, '_, '_> PartialOrd<IsCow<'_, U>> for IsMut<'_, T> where
T: ToOwned + PartialOrd<U>,
T::Owned: BorrowMut<T>,
U: ToOwned,
[src]
T: ToOwned + PartialOrd<U>,
T::Owned: BorrowMut<T>,
U: ToOwned,
fn partial_cmp(&self, other: &IsCow<'_, U>) -> Option<Ordering>
[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<T: ?Sized, U: ?Sized, '_, '_> PartialOrd<IsMut<'_, U>> for Is<'_, T> where
T: ToOwned + PartialOrd<U>,
U: ToOwned,
U::Owned: BorrowMut<U>,
[src]
T: ToOwned + PartialOrd<U>,
U: ToOwned,
U::Owned: BorrowMut<U>,
fn partial_cmp(&self, other: &IsMut<'_, U>) -> Option<Ordering>
[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<T: ?Sized, U: ?Sized, '_, '_> PartialOrd<IsMut<'_, U>> for IsCow<'_, T> where
T: ToOwned + PartialOrd<U>,
U: ToOwned,
U::Owned: BorrowMut<U>,
[src]
T: ToOwned + PartialOrd<U>,
U: ToOwned,
U::Owned: BorrowMut<U>,
fn partial_cmp(&self, other: &IsMut<'_, U>) -> Option<Ordering>
[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<T: ?Sized, U: ?Sized, '_, '_> PartialOrd<IsMut<'_, U>> for IsMut<'_, T> where
T: ToOwned + PartialOrd<U>,
T::Owned: BorrowMut<T>,
U: ToOwned,
U::Owned: BorrowMut<U>,
[src]
T: ToOwned + PartialOrd<U>,
T::Owned: BorrowMut<T>,
U: ToOwned,
U::Owned: BorrowMut<U>,
fn partial_cmp(&self, other: &IsMut<'_, U>) -> Option<Ordering>
[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<T: ?Sized, U, O, '_> Rem<U> for IsMut<'_, T> where
T: ToOwned,
&'a T: Rem<Owned<U>, Output = O> + Rem<&'b U::Is, Output = O>,
T::Owned: BorrowMut<T> + Rem<Owned<U>, Output = O> + Rem<&'a U::Is, Output = O>,
U: AsIs,
[src]
T: ToOwned,
&'a T: Rem<Owned<U>, Output = O> + Rem<&'b U::Is, Output = O>,
T::Owned: BorrowMut<T> + Rem<Owned<U>, Output = O> + Rem<&'a U::Is, Output = O>,
U: AsIs,
type Output = O
The resulting type after applying the %
operator.
fn rem(self, rhs: U) -> Self::Output
[src]
impl<T: ?Sized, U, '_> RemAssign<U> for IsMut<'_, T> where
T: ToOwned + RemAssign<Owned<U>> + RemAssign<&'a U::Is>,
T::Owned: BorrowMut<T>,
U: AsIs,
[src]
T: ToOwned + RemAssign<Owned<U>> + RemAssign<&'a U::Is>,
T::Owned: BorrowMut<T>,
U: AsIs,
fn rem_assign(&mut self, rhs: U)
[src]
impl<T: ?Sized, U, O, '_> Shl<U> for IsMut<'_, T> where
T: ToOwned,
&'a T: Shl<Owned<U>, Output = O> + Shl<&'b U::Is, Output = O>,
T::Owned: BorrowMut<T> + Shl<Owned<U>, Output = O> + Shl<&'a U::Is, Output = O>,
U: AsIs,
[src]
T: ToOwned,
&'a T: Shl<Owned<U>, Output = O> + Shl<&'b U::Is, Output = O>,
T::Owned: BorrowMut<T> + Shl<Owned<U>, Output = O> + Shl<&'a U::Is, Output = O>,
U: AsIs,
type Output = O
The resulting type after applying the <<
operator.
fn shl(self, rhs: U) -> Self::Output
[src]
impl<T: ?Sized, U, '_> ShlAssign<U> for IsMut<'_, T> where
T: ToOwned + ShlAssign<Owned<U>> + ShlAssign<&'a U::Is>,
T::Owned: BorrowMut<T>,
U: AsIs,
[src]
T: ToOwned + ShlAssign<Owned<U>> + ShlAssign<&'a U::Is>,
T::Owned: BorrowMut<T>,
U: AsIs,
fn shl_assign(&mut self, rhs: U)
[src]
impl<T: ?Sized, U, O, '_> Shr<U> for IsMut<'_, T> where
T: ToOwned,
&'a T: Shr<Owned<U>, Output = O> + Shr<&'b U::Is, Output = O>,
T::Owned: BorrowMut<T> + Shr<Owned<U>, Output = O> + Shr<&'a U::Is, Output = O>,
U: AsIs,
[src]
T: ToOwned,
&'a T: Shr<Owned<U>, Output = O> + Shr<&'b U::Is, Output = O>,
T::Owned: BorrowMut<T> + Shr<Owned<U>, Output = O> + Shr<&'a U::Is, Output = O>,
U: AsIs,
type Output = O
The resulting type after applying the >>
operator.
fn shr(self, rhs: U) -> Self::Output
[src]
impl<T: ?Sized, U, '_> ShrAssign<U> for IsMut<'_, T> where
T: ToOwned + ShrAssign<Owned<U>> + ShrAssign<&'a U::Is>,
T::Owned: BorrowMut<T>,
U: AsIs,
[src]
T: ToOwned + ShrAssign<Owned<U>> + ShrAssign<&'a U::Is>,
T::Owned: BorrowMut<T>,
U: AsIs,
fn shr_assign(&mut self, rhs: U)
[src]
impl<T: ?Sized, U, O, '_> Sub<U> for IsMut<'_, T> where
T: ToOwned,
&'a T: Sub<Owned<U>, Output = O> + Sub<&'b U::Is, Output = O>,
T::Owned: BorrowMut<T> + Sub<Owned<U>, Output = O> + Sub<&'a U::Is, Output = O>,
U: AsIs,
[src]
T: ToOwned,
&'a T: Sub<Owned<U>, Output = O> + Sub<&'b U::Is, Output = O>,
T::Owned: BorrowMut<T> + Sub<Owned<U>, Output = O> + Sub<&'a U::Is, Output = O>,
U: AsIs,
type Output = O
The resulting type after applying the -
operator.
fn sub(self, rhs: U) -> Self::Output
[src]
impl<T: ?Sized, U, '_> SubAssign<U> for IsMut<'_, T> where
T: ToOwned + SubAssign<Owned<U>> + SubAssign<&'a U::Is>,
T::Owned: BorrowMut<T>,
U: AsIs,
[src]
T: ToOwned + SubAssign<Owned<U>> + SubAssign<&'a U::Is>,
T::Owned: BorrowMut<T>,
U: AsIs,
fn sub_assign(&mut self, rhs: U)
[src]
impl<T: ?Sized, '_> UpperExp for IsMut<'_, T> where
T: ToOwned + UpperExp,
T::Owned: BorrowMut<T>,
[src]
T: ToOwned + UpperExp,
T::Owned: BorrowMut<T>,
impl<T: ?Sized, '_> UpperHex for IsMut<'_, T> where
T: ToOwned + UpperHex,
T::Owned: BorrowMut<T>,
[src]
T: ToOwned + UpperHex,
T::Owned: BorrowMut<T>,
Auto Trait Implementations
impl<'a, T: ?Sized> RefUnwindSafe for IsMut<'a, T> where
T: RefUnwindSafe,
<T as ToOwned>::Owned: RefUnwindSafe,
T: RefUnwindSafe,
<T as ToOwned>::Owned: RefUnwindSafe,
impl<'a, T: ?Sized> Send for IsMut<'a, T> where
T: Send,
<T as ToOwned>::Owned: Send,
T: Send,
<T as ToOwned>::Owned: Send,
impl<'a, T: ?Sized> Sync for IsMut<'a, T> where
T: Sync,
<T as ToOwned>::Owned: Sync,
T: Sync,
<T as ToOwned>::Owned: Sync,
impl<'a, T: ?Sized> Unpin for IsMut<'a, T> where
<T as ToOwned>::Owned: Unpin,
<T as ToOwned>::Owned: Unpin,
impl<'a, T> !UnwindSafe for IsMut<'a, T>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,