Trait expectest::traits::is_empty::IsEmpty [] [src]

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

An IsEmpty trait for types that can be checked for emptiness.

Required Methods

fn is_empty(&self) -> bool

Checks if something is empty.

Implementors