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§