Zero

Trait Zero 

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

Creates a structure with zero values.

This interface is obsolete.

Required Methods§

Source

fn zero() -> Self

Creates a structure with zero values.

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§

Source§

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