[][src]Trait try_traits::ops::TryRem

pub trait TryRem<Rhs = Self> {
    type Error;
    type Output;
    fn try_rem(self, other: Rhs) -> Result<Self::Output, Self::Error>;
}

The try trait for Rem.

Associated Types

type Error

The type returned in the event of an error.

type Output

The type returned after performing the operation.

Loading content...

Required methods

fn try_rem(self, other: Rhs) -> Result<Self::Output, Self::Error>

The fallible equivalent of Rem::rem.

Loading content...

Implementors

impl<T: Rem<Rhs>, Rhs> TryRem<Rhs> for T[src]

type Error = Infallible

type Output = Self::Output

Loading content...