Trait concision_core::Decrement

source ·
pub trait Decrement {
    type Output;

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

Decrement generally describes an object capable of decrementing itself;

Here, it is used on a Dimension enabling it to remove and return an axis from itself.

Required Associated Types§

Required Methods§

source

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

Implementors§

source§

impl<D> Decrement for D
where D: RemoveAxis,

§

type Output = <D as Dimension>::Smaller