Trait Empty

Source
pub trait Empty: TList + Sealed { }
Expand description

The empty TList.

Only TNil implements this constraining trait.

See also TList::IS_EMPTY and IsEmpty if you want work with both Empty and NonEmpty lists generically.

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§