hir_expand::name

Trait AsName

Source
pub trait AsName {
    // Required method
    fn as_name(&self) -> Name;
}

Required Methods§

Source

fn as_name(&self) -> Name

Implementations on Foreign Types§

Source§

impl AsName for Dependency

Source§

fn as_name(&self) -> Name

Source§

impl AsName for FieldKind

Source§

fn as_name(&self) -> Name

Source§

impl AsName for Name

Source§

fn as_name(&self) -> Name

Source§

impl AsName for NameOrNameRef

Source§

fn as_name(&self) -> Name

Source§

impl AsName for NameRef

Source§

fn as_name(&self) -> Name

Source§

impl<Span> AsName for Ident<Span>

Source§

fn as_name(&self) -> Name

Implementors§