Trait option_operations::rem::OptionRem
source · pub trait OptionRem<Rhs = Self, InnerRhs = Rhs> {
type Output;
// Required method
fn opt_rem(self, rhs: Rhs) -> Option<Self::Output>;
}
Expand description
Trait for values and Option
s remainder.
Implementing this trait leads to the following auto-implementations:
OptionRem<Option<InnerRhs>>
forT
.OptionRem<Rhs>
forOption<T>
.OptionRem<Option<InnerRhs>>
forOption<T>
.- … and some variants with references.
This trait is auto-implemented for OptionOperations
types implementing
Rem<Rhs>
.