Trait nu_protocol::SpannedTypeName[][src]

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

Implementations on Foreign Types

Return the spanned type name for a Tagged value

Implementors