Struct syntax::ast::MethodSig [−][src]
Represents a method's signature in a trait declaration, or in an implementation.
Fields
header: FnHeader
decl: P<FnDecl>
Trait Implementations
impl Clone for MethodSig[src]
impl Clone for MethodSigfn clone(&self) -> MethodSig[src]
fn clone(&self) -> MethodSigReturns 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 MethodSig[src]
impl PartialEq for MethodSigfn eq(&self, other: &MethodSig) -> bool[src]
fn eq(&self, other: &MethodSig) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &MethodSig) -> bool[src]
fn ne(&self, other: &MethodSig) -> boolThis method tests for !=.
impl Eq for MethodSig[src]
impl Eq for MethodSigimpl Encodable for MethodSig[src]
impl Encodable for MethodSigimpl Decodable for MethodSig[src]
impl Decodable for MethodSigimpl Hash for MethodSig[src]
impl Hash for MethodSigfn 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 MethodSig[src]
impl Debug for MethodSig