Trait OptionDiv  
pub trait OptionDiv<Rhs = Self, InnerRhs = Rhs> {
    type Output;
    // Required method
    fn opt_div(self, rhs: Rhs) -> Option<Self::Output>;
}Expand description
Trait for values and Options division.
Implementing this trait leads to the following auto-implementations:
- OptionDiv<Option<InnerRhs>>for- T.
- OptionDiv<Rhs>for- Option<T>.
- OptionDiv<Option<InnerRhs>>for- Option<T>.
- … and some variants with references.
This trait is auto-implemented for OptionOperations types implementing
Div<Rhs>.
Required Associated Types§
type Output
type Output
The resulting inner type after applying the division.