[][src]Trait valid::property::HasZeroValue

pub trait HasZeroValue {
    fn is_zero_value(&self) -> bool;
}

Defines that a type has a zero value.

Required methods

fn is_zero_value(&self) -> bool

Returns whether this value is zero

Loading content...

Implementors

impl<T> HasZeroValue for T where
    T: Zero
[src]

Loading content...