Struct syn::PathListItem
[−]
[src]
pub struct PathListItem { pub name: Ident, pub rename: Option<Ident>, }
Fields
name: Ident
rename: Option<Ident>
renamed in list, e.g. use foo::{bar as baz};
Trait Implementations
impl ToTokens for PathListItem
[src]
impl Debug for PathListItem
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for PathListItem
[src]
fn clone(&self) -> PathListItem
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Eq for PathListItem
[src]
impl PartialEq for PathListItem
[src]
fn eq(&self, __arg_0: &PathListItem) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &PathListItem) -> bool
[src]
This method tests for !=
.