[][src]Trait try_traits::ops::TrySubAssign

pub trait TrySubAssign<Rhs = Self> {
    type Error;
    fn try_sub_assign(&mut self, other: Rhs) -> Result<(), Self::Error>;
}

The try trait for SubAssign.

Associated Types

type Error

The type returned in the event of an error.

Loading content...

Required methods

fn try_sub_assign(&mut self, other: Rhs) -> Result<(), Self::Error>

The fallible equivalent of SubAssign::sub_assign.

Loading content...

Implementors

impl<T: SubAssign<Rhs>, Rhs> TrySubAssign<Rhs> for T[src]

type Error = Infallible

Loading content...