Trait nu_protocol::SpannedTypeName [−][src]
pub trait SpannedTypeName { 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
fn spanned_type_name(&self) -> Spanned<&'static str>
[src]
Implementations on Foreign Types
impl<T: ShellTypeName> SpannedTypeName for Tagged<T>
[src]
fn spanned_type_name(&self) -> Spanned<&'static str>
[src]
Return the spanned type name for a Tagged value
Implementors
impl<T: ShellTypeName + HasSpan> SpannedTypeName for T
[src]
fn spanned_type_name(&self) -> Spanned<&'static str>
[src]
Return the type name as a spanned string