DecrementRef

Trait DecrementRef 

Source
pub trait DecrementRef {
    type Output;

    // Required method
    fn dec_ref(&self) -> Self::Output;
}
Expand description

DecrementRef is a trait describing the ability to decrement a value by reference.

Required Associated Types§

Required Methods§

Source

fn dec_ref(&self) -> Self::Output

Implementors§

Source§

impl<S> DecrementRef for S
where S: One, for<'a> &'a S: Sub<S, Output = S>,