euclid::num

Trait Zero

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

Required Methods§

source

fn zero() -> Self

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<T: Zero> Zero for T

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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