Struct syntex_syntax::ast::ImplItem
[−]
[src]
pub struct ImplItem { pub id: NodeId, pub ident: Ident, pub vis: Visibility, pub defaultness: Defaultness, pub attrs: Vec<Attribute>, pub node: ImplItemKind, pub span: Span, }
Fields
id: NodeId
ident: Ident
vis: Visibility
defaultness: Defaultness
attrs: Vec<Attribute>
node: ImplItemKind
span: Span
Trait Implementations
impl Clone for ImplItem
[src]
fn clone(&self) -> ImplItem
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl PartialEq for ImplItem
[src]
fn eq(&self, __arg_0: &ImplItem) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ImplItem) -> bool
This method tests for !=
.
impl Eq for ImplItem
[src]
impl Hash for ImplItem
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl Debug for ImplItem
[src]
impl HasAttrs for ImplItem
[src]
fn attrs(&self) -> &[Attribute]
fn map_attrs<F>(self, f: F) -> Self where
F: FnOnce(Vec<Attribute>) -> Vec<Attribute>,
F: FnOnce(Vec<Attribute>) -> Vec<Attribute>,