Struct syntax::ast::ImplItem  [−][src]
pub struct ImplItem {
    pub id: NodeId,
    pub ident: Ident,
    pub vis: Visibility,
    pub defaultness: Defaultness,
    pub attrs: Vec<Attribute>,
    pub generics: Generics,
    pub node: ImplItemKind,
    pub span: Span,
    pub tokens: Option<TokenStream>,
}Fields
id: NodeId
                           
                           
                           
                           ident: Ident
                           
                           
                           
                           vis: Visibility
                           
                           
                           
                           defaultness: Defaultness
                           
                           
                           
                           attrs: Vec<Attribute>
                           
                           
                           
                           generics: Generics
                           
                           
                           
                           node: ImplItemKind
                           
                           
                           
                           span: Span
                           
                           
                           
                           tokens: Option<TokenStream>
                           See Item::tokens for what this is
Trait Implementations
impl Clone for ImplItem[src] 
impl Clone for ImplItemfn clone(&self) -> ImplItem[src] 
fn clone(&self) -> ImplItemReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src] 
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl PartialEq for ImplItem[src] 
impl PartialEq for ImplItemfn eq(&self, other: &ImplItem) -> bool[src] 
fn eq(&self, other: &ImplItem) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &ImplItem) -> bool[src] 
fn ne(&self, other: &ImplItem) -> boolThis method tests for !=.
impl Eq for ImplItem[src] 
impl Eq for ImplItemimpl Encodable for ImplItem[src] 
impl Encodable for ImplItemimpl Decodable for ImplItem[src] 
impl Decodable for ImplItemimpl Hash for ImplItem[src] 
impl Hash for ImplItemfn hash<__H: Hasher>(&self, state: &mut __H)[src] 
fn hash<__H: Hasher>(&self, state: &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[src] 
fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher, 1.3.0
[src]Feeds a slice of this type into the given [Hasher]. Read more
impl Debug for ImplItem[src] 
impl Debug for ImplItemfn fmt(&self, f: &mut Formatter) -> Result[src] 
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl HasAttrs for ImplItem[src] 
impl HasAttrs for ImplItemfn attrs(&self) -> &[Attribute][src] 
fn attrs(&self) -> &[Attribute]fn map_attrs<F>(self, f: F) -> Self where
    F: FnOnce(Vec<Attribute>) -> Vec<Attribute>, [src] 
fn map_attrs<F>(self, f: F) -> Self where
    F: FnOnce(Vec<Attribute>) -> Vec<Attribute>, impl ToTokens for ImplItem[src] 
impl ToTokens for ImplItem