Empty

Trait Empty 

Source
pub trait Empty {
    // Required method
    fn empty() -> Self;
}

Required Methods§

Source

fn empty() -> Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<Bound> Empty for Interval<Bound>
where Bound: Width + Num,

Source§

impl<Bound: Width + Num> Empty for IntervalSet<Bound>

Source§

impl<S, OrdPush, OrdPop> Empty for Queue<S, OrdPush, OrdPop>
where S: Empty,

Source§

impl<S, Ordering> Empty for Stack<S, Ordering>
where S: Empty,

Source§

impl<T> Empty for Optional<T>

Source§

impl<T> Empty for Vector<T>

Source§

impl<T> Empty for VectorDeque<T>