pub trait IsEmpty { fn is_empty(&self) -> bool; }
A trait for checking if a struct is empty. See the crate-level documentation for more information.
Check if the struct is empty. Returns true if all the fields are considered empty.