pub trait HasEmpty {
// Required method
fn empty(&self) -> bool;
}Expand description
Represents types that have emptiness-checking capabilities.
Required Methods§
Implementations on Foreign Types§
Source§impl<T> HasEmpty for BinaryHeap<T>
Available on crate features alloc or std only.
impl<T> HasEmpty for BinaryHeap<T>
Available on crate features
alloc or std only.Source§impl<T> HasEmpty for LinkedList<T>
Available on crate features alloc or std only.
impl<T> HasEmpty for LinkedList<T>
Available on crate features
alloc or std only.Source§impl<T: ToOwned + HasEmpty + ?Sized> HasEmpty for Cow<'_, T>
Available on crate features alloc or std only.
impl<T: ToOwned + HasEmpty + ?Sized> HasEmpty for Cow<'_, T>
Available on crate features
alloc or std only.