Struct rustc_typeck::hir::Arg
[−]
[src]
pub struct Arg {
pub ty: P<Ty>,
pub pat: P<Pat>,
pub id: u32,
}Unstable (
rustc_private)represents an argument in a function header
Fields
ty: P<Ty>
Unstable (
rustc_private)pat: P<Pat>
Unstable (
rustc_private)id: u32
Unstable (
rustc_private)Methods
impl Arg
Trait Implementations
Derived Implementations
impl Debug for Arg
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter.
impl Hash for Arg
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 Arg
impl Encodable for Arg
impl Eq for Arg
impl PartialEq<Arg> for Arg
fn eq(&self, __arg_0: &Arg) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &Arg) -> bool
This method tests for !=.
impl Clone for Arg
fn clone(&self) -> Arg
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