Trait tycho::Ident[][src]

pub trait Ident {
    type IdentType;
    fn ident(&self) -> Self::IdentType;
}

Trait for converting a value or element into an Ident.

Associated Types

type IdentType[src]

Respective ident type

Loading content...

Required methods

fn ident(&self) -> Self::IdentType[src]

Get the respective ident for the element.

Loading content...

Implementors

impl Ident for Element[src]

type IdentType = ElementIdent

impl Ident for Number[src]

type IdentType = NumberIdent

impl Ident for Value[src]

type IdentType = ValueIdent

Loading content...