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
Required methods
fn checked_div(self, rhs: Rhs) -> Self::Output
fn checked_div(self, rhs: Rhs) -> Self::Output
Returns Some(self / rhs)
or None
if the result can not be
represented by the Output
type.