Struct rustc_typeck::hir::MethodSig
[−]
[src]
pub struct MethodSig {
pub unsafety: Unsafety,
pub constness: Constness,
pub abi: Abi,
pub decl: P<FnDecl>,
pub generics: Generics,
}Unstable (
rustc_private)Represents a method's signature in a trait declaration, or in an implementation.
Fields
unsafety: Unsafety
Unstable (
rustc_private)constness: Constness
Unstable (
rustc_private)abi: Abi
Unstable (
rustc_private)decl: P<FnDecl>
Unstable (
rustc_private)generics: Generics
Unstable (
rustc_private)Trait Implementations
Derived Implementations
impl Debug for MethodSig
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter.
impl Hash for MethodSig
fn hash<__H>(&self, __arg_0: &mut __H) where __H: Hasher
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 MethodSig
impl Encodable for MethodSig
impl Eq for MethodSig
impl PartialEq<MethodSig> for MethodSig
fn eq(&self, __arg_0: &MethodSig) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &MethodSig) -> bool
This method tests for !=.
impl Clone for MethodSig
fn clone(&self) -> MethodSig
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