Struct syntex_syntax::ast::Crate [] [src]

pub struct Crate {
    pub module: Mod,
    pub attrs: Vec<Attribute>,
    pub config: CrateConfig,
    pub span: Span,
    pub exported_macros: Vec<MacroDef>,
}

Fields

module
attrs
config
span
exported_macros

Trait Implementations

Derived Implementations

impl Debug for Crate

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Hash for Crate

fn hash<__H: Hasher>(&self, __arg_0: &mut __H)

fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher

impl Decodable for Crate

fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<Crate, __D::Error>

impl Encodable for Crate

fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), __S::Error>

impl Eq for Crate

impl PartialEq for Crate

fn eq(&self, __arg_0: &Crate) -> bool

fn ne(&self, __arg_0: &Crate) -> bool

impl Clone for Crate

fn clone(&self) -> Crate

fn clone_from(&mut self, source: &Self)