☰
HasSpan
Required Methods
span
Implementors
In rustc_ast::ast_traits
?
Trait
rustc_ast
::
ast_traits
::
HasSpan
source
·
[
−
]
pub trait HasSpan { fn
span
(&self) ->
Span
; }
Expand description
A trait for AST nodes having a span.
Required Methods
§
source
fn
span
(&self) ->
Span
Implementors
§
source
§
impl
HasSpan
for
AttrItem
source
§
impl
HasSpan
for
Block
source
§
impl
HasSpan
for
Expr
source
§
impl
HasSpan
for
Item
source
§
impl
HasSpan
for
Pat
source
§
impl
HasSpan
for
Path
source
§
impl
HasSpan
for
Stmt
source
§
impl
HasSpan
for
Ty
source
§
impl
HasSpan
for
Visibility
source
§
impl
HasSpan
for
AssocItem
source
§
impl
HasSpan
for
ForeignItem
source
§
impl<T:
AstDeref
<Target:
HasSpan
>>
HasSpan
for T