Trait coordinate_frame::ZeroOne

source ·
pub trait ZeroOne {
    type Output;

    // Required methods
    fn zero() -> Self::Output;
    fn one() -> Self::Output;
}
Expand description

Provides the values zero and one.

Required Associated Types§

Required Methods§

source

fn zero() -> Self::Output

Provides the value zero (0).

source

fn one() -> Self::Output

Provides the value one (1).

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<T> ZeroOne for T
where T: Zero + One,

§

type Output = T