Trait cgats::PartialDiv
source · pub trait PartialDiv<Rhs: Sized>: Sized {
type Output;
fn partial_div(&self, rhs: &Rhs) -> Option<Self::Output>;
}
Expand description
Trait to divide values that may not be compatible.
pub trait PartialDiv<Rhs: Sized>: Sized {
type Output;
fn partial_div(&self, rhs: &Rhs) -> Option<Self::Output>;
}
Trait to divide values that may not be compatible.