zng_layout::unit::euclid::num

Trait Zero

pub trait Zero {
    // Required method
    fn zero() -> Self;
}

Required Methods§

fn zero() -> Self

Object Safety§

This trait is not object safe.

Implementors§

§

impl<T> Zero for T
where T: Zero,

§

impl<T, U> Zero for Length<T, U>
where T: Zero,

§

impl<T, U> Zero for Point2D<T, U>
where T: Zero,

§

impl<T, U> Zero for Point3D<T, U>
where T: Zero,

§

impl<T, U> Zero for Size2D<T, U>
where T: Zero,

§

impl<T, U> Zero for Size3D<T, U>
where T: Zero,

§

impl<T, U> Zero for Vector2D<T, U>
where T: Zero,

§

impl<T, U> Zero for Vector3D<T, U>
where T: Zero,