Trait fpdec::CheckedDiv[][src]

pub trait CheckedDiv<Rhs = Self> {
    type Output;
    fn checked_div(self, rhs: Rhs) -> Self::Output;
}
Expand description

Checked division. Computes self / rhs. Returns None if the result can not be represented by the Output type.

Associated Types

The resulting type after applying checked_div.

Required methods

Returns Some(self / rhs) or None if the result can not be represented by the Output type.

Implementations on Foreign Types

Implementors