Struct syntax::ast::ArgUnstable
[-] [+]
[src]
pub struct Arg { pub ty: P<Ty>, pub pat: P<Pat>, pub id: NodeId, }
represents an argument in a function header
Fields
ty | |
pat | |
id |
pub struct Arg { pub ty: P<Ty>, pub pat: P<Pat>, pub id: NodeId, }
represents an argument in a function header
ty | |
pat | |
id |
impl Arg
fn new_self(span: Span, mutability: Mutability, self_ident: Ident) -> Arg
impl ToSource for Arg
impl ToTokens for Arg
impl Debug for Arg
impl Hash for Arg
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher
impl Decodable for Arg
impl Encodable for Arg
impl Eq for Arg
fn assert_receiver_is_total_eq(&self)
impl PartialEq for Arg
impl Clone for Arg
fn clone(&self) -> Arg
fn clone_from(&mut self, source: &Self)
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
, enum
,
trait
, typedef
(or
tdef
).