Trait Ident
tycho
pub trait Ident { type IdentType; fn ident(&self) -> Self::IdentType; }
Trait for converting a value or element into an Ident.
type IdentType
Respective ident type
fn ident(&self) -> Self::IdentType
Get the respective ident for the element.
impl Ident for Element
type IdentType = ElementIdent
impl Ident for Number
type IdentType = NumberIdent
impl Ident for Value
type IdentType = ValueIdent