Trait nu_protocol::SpannedTypeName
source · [−]pub trait SpannedTypeName {
fn spanned_type_name(&self) -> Spanned<&'static str>;
}
Expand description
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>
Implementations on Foreign Types
sourceimpl<T: ShellTypeName> SpannedTypeName for Tagged<T>
impl<T: ShellTypeName> SpannedTypeName for Tagged<T>
sourcefn spanned_type_name(&self) -> Spanned<&'static str>
fn spanned_type_name(&self) -> Spanned<&'static str>
Return the spanned type name for a Tagged value