Trait NameOwner
Other items inra_ap_syntax::ast
pub trait NameOwner: AstNode { fn name(&self) -> Option<Name> { ... } }
fn name(&self) -> Option<Name>
impl NameOwner for Adt
impl NameOwner for Macro
impl NameOwner for Const
impl NameOwner for ConstParam
impl NameOwner for Enum
impl NameOwner for Fn
impl NameOwner for IdentPat
impl NameOwner for MacroDef
impl NameOwner for MacroRules
impl NameOwner for Module
impl NameOwner for RecordField
impl NameOwner for Rename
impl NameOwner for SelfParam
impl NameOwner for Static
impl NameOwner for Struct
impl NameOwner for Trait
impl NameOwner for TypeAlias
impl NameOwner for TypeParam
impl NameOwner for Union
impl NameOwner for Variant