Skip to main content

IsEmpty

Trait IsEmpty 

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

Required Methods§

Source

fn is_empty(&self) -> bool

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl IsEmpty for BlockStmt

Source§

fn is_empty(&self) -> bool

Source§

impl IsEmpty for CatchClause

Source§

fn is_empty(&self) -> bool

Source§

impl IsEmpty for FunctionBody

Source§

fn is_empty(&self) -> bool

Source§

impl IsEmpty for Stmt

Source§

fn is_empty(&self) -> bool

Source§

impl<T: IsEmpty> IsEmpty for Box<T>

Source§

fn is_empty(&self) -> bool

Source§

impl<T: IsEmpty> IsEmpty for Option<T>

Source§

fn is_empty(&self) -> bool

Source§

impl<T> IsEmpty for Vec<T>

Source§

fn is_empty(&self) -> bool

Implementors§