[][src]Trait nu_protocol::SpannedTypeName

pub trait SpannedTypeName {
    pub fn spanned_type_name(&self) -> Spanned<&'static str>;
}

A trait that allows structures to define a known way to return a spanned type name

Required methods

pub fn spanned_type_name(&self) -> Spanned<&'static str>[src]

Loading content...

Implementations on Foreign Types

impl<T: ShellTypeName> SpannedTypeName for Tagged<T>[src]

pub fn spanned_type_name(&self) -> Spanned<&'static str>[src]

Return the spanned type name for a Tagged value

Loading content...

Implementors

impl<T: ShellTypeName + HasSpan> SpannedTypeName for T[src]

pub fn spanned_type_name(&self) -> Spanned<&'static str>[src]

Return the type name as a spanned string

Loading content...