base_traits

Trait IsEmpty

Source
pub trait IsEmpty {
    // Required method
    fn is_empty(&self) -> bool;
}
Expand description

Trait defining instance method is_empty() : bool that indicates whether the implementing type instance is logically empty.

Required Methods§

Source

fn is_empty(&self) -> bool

Implementations on Foreign Types§

Source§

impl IsEmpty for &str

Source§

fn is_empty(&self) -> bool

Source§

impl IsEmpty for &CStr

Source§

fn is_empty(&self) -> bool

Source§

impl IsEmpty for &Path

Source§

fn is_empty(&self) -> bool

Source§

impl IsEmpty for &PathBuf

Source§

fn is_empty(&self) -> bool

Source§

impl IsEmpty for str

Source§

fn is_empty(&self) -> bool

Source§

impl IsEmpty for CString

Source§

fn is_empty(&self) -> bool

Source§

impl IsEmpty for String

Source§

fn is_empty(&self) -> bool

Source§

impl IsEmpty for CStr

Source§

fn is_empty(&self) -> bool

Source§

impl IsEmpty for RangeFull

Source§

fn is_empty(&self) -> bool

Source§

impl IsEmpty for PathBuf

Source§

fn is_empty(&self) -> bool

Source§

impl<Idx> IsEmpty for RangeFrom<Idx>

Source§

fn is_empty(&self) -> bool

Source§

impl<Idx> IsEmpty for RangeTo<Idx>

Source§

fn is_empty(&self) -> bool

Source§

impl<Idx: PartialOrd> IsEmpty for Range<Idx>

Source§

fn is_empty(&self) -> bool

Source§

impl<Idx: PartialOrd> IsEmpty for RangeInclusive<Idx>

Source§

fn is_empty(&self) -> bool

Source§

impl<K, V> IsEmpty for BTreeMap<K, V>

Source§

fn is_empty(&self) -> bool

Source§

impl<K, V> IsEmpty for HashMap<K, V>

Source§

fn is_empty(&self) -> bool

Source§

impl<T> IsEmpty for &[T]

Source§

fn is_empty(&self) -> bool

Source§

impl<T> IsEmpty for [T]

Source§

fn is_empty(&self) -> bool

Source§

impl<T> IsEmpty for BinaryHeap<T>

Source§

fn is_empty(&self) -> bool

Source§

impl<T> IsEmpty for BTreeSet<T>

Source§

fn is_empty(&self) -> bool

Source§

impl<T> IsEmpty for LinkedList<T>

Source§

fn is_empty(&self) -> bool

Source§

impl<T> IsEmpty for VecDeque<T>

Source§

fn is_empty(&self) -> bool

Source§

impl<T> IsEmpty for Vec<T>

Source§

fn is_empty(&self) -> bool

Source§

impl<T> IsEmpty for HashSet<T>

Source§

fn is_empty(&self) -> bool

Source§

impl<T, const N: usize> IsEmpty for &[T; N]

Source§

fn is_empty(&self) -> bool

Source§

impl<T, const N: usize> IsEmpty for [T; N]

Source§

fn is_empty(&self) -> bool

Source§

impl<T: IsEmpty + ?Sized> IsEmpty for Box<T>

Source§

fn is_empty(&self) -> bool

Source§

impl<T: IsEmpty + ?Sized> IsEmpty for Rc<T>

Source§

fn is_empty(&self) -> bool

Implementors§