Struct syntax::ast::TypeBindingUnstable
[-] [+]
[src]
pub struct TypeBinding { pub id: NodeId, pub ident: Ident, pub ty: P<Ty>, pub span: Span, }
Fields
id | |
ident | |
ty | |
span |
pub struct TypeBinding { pub id: NodeId, pub ident: Ident, pub ty: P<Ty>, pub span: Span, }
id | |
ident | |
ty | |
span |
impl Debug for TypeBinding
impl Hash for TypeBinding
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher
impl Decodable for TypeBinding
fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<TypeBinding, Error>
impl Encodable for TypeBinding
impl Eq for TypeBinding
fn assert_receiver_is_total_eq(&self)
impl PartialEq for TypeBinding
fn eq(&self, __arg_0: &TypeBinding) -> bool
fn ne(&self, __arg_0: &TypeBinding) -> bool
impl Clone for TypeBinding
fn clone(&self) -> TypeBinding
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
).