Struct syntax::ast::CrateUnstable [-] [+] [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, Error>

impl Encodable for Crate

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

impl Eq for Crate

fn assert_receiver_is_total_eq(&self)

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)