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 node: ImplItemKind,
pub span: Span,
}Unstable (
rustc_private)Fields
id: NodeId
Unstable (
rustc_private)ident: Ident
Unstable (
rustc_private)vis: Visibility
Unstable (
rustc_private)defaultness: Defaultness
Unstable (
rustc_private)attrs: Vec<Attribute>
Unstable (
rustc_private)node: ImplItemKind
Unstable (
rustc_private)span: Span
Unstable (
rustc_private)Trait Implementations
impl ToTokens for ImplItem[src]
Derived Implementations
impl Debug for ImplItem[src]
impl Hash for ImplItem[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the state given, updating the hasher as necessary.
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher1.3.0
Feeds a slice of this type into the state provided.
impl Decodable for ImplItem[src]
impl Encodable for ImplItem[src]
impl Eq for ImplItem[src]
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 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