Struct syntax::ast::Crate [−][src]
Fields
module: Mod
attrs: Vec<Attribute>
span: Span
Trait Implementations
impl Clone for Crate[src]
impl Clone for Cratefn clone(&self) -> Crate[src]
fn clone(&self) -> CrateReturns 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 Crate[src]
impl PartialEq for Cratefn eq(&self, other: &Crate) -> bool[src]
fn eq(&self, other: &Crate) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Crate) -> bool[src]
fn ne(&self, other: &Crate) -> boolThis method tests for !=.
impl Eq for Crate[src]
impl Eq for Crateimpl Encodable for Crate[src]
impl Encodable for Crateimpl Decodable for Crate[src]
impl Decodable for Crateimpl Hash for Crate[src]
impl Hash for Cratefn 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 Crate[src]
impl Debug for Crate