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

impl EachViewItem for Crate

fn each_view_item<F>(&self, f: F) -> bool where F: FnMut(&ViewItem) -> bool

Derived Implementations

impl Show for Crate

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

impl<__S: Writer + Hasher> Hash<__S> for Crate

fn hash(&self, __arg_0: &mut __S)

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)