Trait base_traits::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§