iced::widget::canvas::path::lyon_path::geom::euclid::num

Trait Zero

pub trait Zero {
    // Required method
    fn zero() -> Self;
}
Available on crate feature canvas only.

Required Methods§

fn zero() -> Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so 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,