Trait tool::empty::IsEmpty[][src]

pub trait IsEmpty {
    fn is_empty(&self) -> bool;
}

Things that can be "empty".

Required Methods

Implementations on Foreign Types

impl<'a, T: IsEmpty + ?Sized> IsEmpty for &'a T
[src]

impl<'a, T: IsEmpty + ?Sized> IsEmpty for &'a mut T
[src]

impl<T: IsEmpty> IsEmpty for Option<T>
[src]

impl IsEmpty for str
[src]

impl<T> IsEmpty for [T]
[src]

impl<K, V, S> IsEmpty for HashMap<K, V, S> where
    K: Eq + Hash,
    S: BuildHasher
[src]

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

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

impl IsEmpty for String
[src]

impl IsEmpty for OsStr
[src]

impl IsEmpty for OsString
[src]

impl IsEmpty for CStr
[src]

impl IsEmpty for CString
[src]

impl<T: ?Sized + IsEmpty> IsEmpty for Box<T>
[src]

impl<T: ?Sized + IsEmpty> IsEmpty for Rc<T>
[src]

impl<T: ?Sized + IsEmpty> IsEmpty for Arc<T>
[src]

Implementors