syntax
0.0.0
HasName
Provided Methods
name
Implementations on Foreign Types
Either<A, B>
Implementors
In syntax::
ast
syntax
::
ast
Trait
HasName
Copy item path
Source
pub trait HasName:
AstNode
{ // Provided method fn
name
(&self) ->
Option
<
Name
> { ... } }
Provided Methods
§
Source
fn
name
(&self) ->
Option
<
Name
>
Implementations on Foreign Types
§
Source
§
impl<A:
HasName
, B:
HasName
>
HasName
for
Either
<A, B>
Implementors
§
Source
§
impl
HasName
for
Adt
Source
§
impl
HasName
for
Macro
Source
§
impl
HasName
for
AnyHasName
Source
§
impl
HasName
for
AsmOperandNamed
Source
§
impl
HasName
for
Const
Source
§
impl
HasName
for
ConstParam
Source
§
impl
HasName
for
Enum
Source
§
impl
HasName
for
Fn
Source
§
impl
HasName
for
FormatArgsArg
Source
§
impl
HasName
for
IdentPat
Source
§
impl
HasName
for
MacroDef
Source
§
impl
HasName
for
MacroRules
Source
§
impl
HasName
for
Module
Source
§
impl
HasName
for
RecordField
Source
§
impl
HasName
for
Rename
Source
§
impl
HasName
for
SelfParam
Source
§
impl
HasName
for
Static
Source
§
impl
HasName
for
Struct
Source
§
impl
HasName
for
Trait
Source
§
impl
HasName
for
TraitAlias
Source
§
impl
HasName
for
TypeAlias
Source
§
impl
HasName
for
TypeParam
Source
§
impl
HasName
for
Union
Source
§
impl
HasName
for
Variant