Trait base_traits::Zero
source · pub trait Zero {
// Required method
fn zero() -> Self;
}Expand description
Trait defining class method zero() : T that creates an instance of
the implementing type that is conceptually (or actually) zero.
Required Methods§
Object Safety§
This trait is not object safe.