Skip to main content

IsEmpty

Trait IsEmpty 

Source
pub trait IsEmpty: Subset<()> { }
Expand description

Indicates that a set is empty, i.e., it contains no members.

This is the same as T: Subset<()>

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§

Source§

impl<T> IsEmpty for T
where T: Subset<()>,