Struct syntax::ast::Ty [−][src]
Fields
id: NodeId
node: TyKind
span: Span
Trait Implementations
impl Clone for Ty[src]
impl Clone for Tyfn clone(&self) -> Ty[src]
fn clone(&self) -> TyReturns 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 Tyfn eq(&self, other: &Ty) -> bool[src]
fn eq(&self, other: &Ty) -> boolThis 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) -> boolThis method tests for !=.
impl Eq for Ty[src]
impl Eq for Tyimpl Encodable for Ty[src]
impl Encodable for Tyimpl Decodable for Ty[src]
impl Decodable for Tyimpl Hash for Ty[src]
impl Hash for Tyfn 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 Tyfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl ToTokens for Ty[src]
impl ToTokens for Ty