Struct syntax::ast::Ty [−][src]
Fields
id: NodeId
node: TyKind
span: Span
Trait Implementations
impl Clone for Ty
[src]
impl Clone for Ty
fn clone(&self) -> Ty
[src]
fn clone(&self) -> Ty
Returns 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 Ty
[src]
impl PartialEq for Ty
fn eq(&self, other: &Ty) -> bool
[src]
fn eq(&self, other: &Ty) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Ty) -> bool
[src]
fn ne(&self, other: &Ty) -> bool
This method tests for !=
.
impl Eq for Ty
[src]
impl Eq for Ty
impl Encodable for Ty
[src]
impl Encodable for Ty
impl Decodable for Ty
[src]
impl Decodable for Ty
impl Hash for Ty
[src]
impl Hash for Ty
fn 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 Ty
[src]
impl Debug for Ty
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl ToTokens for Ty
[src]
impl ToTokens for Ty