[][src]Trait valid::property::HasEmptyValue

pub trait HasEmptyValue {
    fn is_empty_value(&self) -> bool;
}

The empty property of a type.

This is usually a property of some kind of container like String, Vec, HashSet or HashMap.

Required methods

fn is_empty_value(&self) -> bool

Returns whether the value is empty

Loading content...

Implementations on Foreign Types

impl HasEmptyValue for String[src]

impl<'_> HasEmptyValue for &'_ str[src]

impl<T> HasEmptyValue for Vec<T>[src]

impl<'_, T> HasEmptyValue for &'_ [T][src]

impl<T> HasEmptyValue for VecDeque<T>[src]

impl<T> HasEmptyValue for LinkedList<T>[src]

impl<T, S> HasEmptyValue for HashSet<T, S>[src]

impl<K, V, S> HasEmptyValue for HashMap<K, V, S>[src]

impl<T> HasEmptyValue for BTreeSet<T>[src]

impl<K, V> HasEmptyValue for BTreeMap<K, V>[src]

impl<T> HasEmptyValue for Option<T> where
    T: HasEmptyValue
[src]

Loading content...

Implementors

Loading content...