nu_source

Trait TaggedItem

Source
pub trait TaggedItem: Sized {
    // Provided methods
    fn tagged(self, tag: impl Into<Tag>) -> Tagged<Self> { ... }
    fn tagged_unknown(self) -> Tagged<Self> { ... }
}

Provided Methods§

Source

fn tagged(self, tag: impl Into<Tag>) -> Tagged<Self>

Source

fn tagged_unknown(self) -> Tagged<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<T> TaggedItem for T