Trait HasTag
nu_source
pub trait HasTag { fn tag(&self) -> Tag; }
fn tag(&self) -> Tag
Get the associated metadata
impl<T> HasTag for Tagged<T>
Helper for getting the Tag from the Tagged value