Trait is_empty::IsEmpty

source ·
pub trait IsEmpty {
    fn is_empty(&self) -> bool;
}
Expand description

A trait for checking if a struct is empty. See the crate-level documentation for more information.

Required Methods§

Check if the struct is empty. Returns true if all the fields are considered empty.

Implementations on Foreign Types§

Implementors§