☰
Type Definition ForeignItem
Trait Implementations
Rewrite
Spanned
Other items in
rustfmt_nightly
::
ast
All crates
?
Type Definition
rustfmt_nightly
::
ast
::
ForeignItem
[
−
]
[src]
pub type ForeignItem =
Item
<
ForeignItemKind
>;
Trait Implementations
[src]
impl
Rewrite
for
ForeignItem
[src]
fn
rewrite
(&self, context: &
RewriteContext
<'_>, shape:
Shape
) ->
Option
<
String
>
Rewrite self into shape.
[src]
impl
Spanned
for
ForeignItem
[src]
fn
span
(&self) ->
Span