Struct syntax::ast::Crate[src]
pub struct Crate {
pub module: Mod,
pub attrs: Vec<Attribute>,
pub config: CrateConfig,
pub span: Span,
}Fields
module | |
attrs | |
config | |
span |
pub struct Crate {
pub module: Mod,
pub attrs: Vec<Attribute>,
pub config: CrateConfig,
pub span: Span,
}module | |
attrs | |
config | |
span |
impl EachViewItem for Cratefn each_view_item(&self, f: |&ViewItem| -> bool) -> boolimpl<__S: Writer> Hash<__S> for Cratefn hash(&self, __arg_0: &mut __S)impl<__D: Decoder<__E>, __E> Decodable<__D, __E> for Crateimpl<__S: Encoder<__E>, __E> Encodable<__S, __E> for Crateimpl Eq for Cratefn assert_receiver_is_total_eq(&self)impl PartialEq for Crateimpl Clone for Cratefn clone(&self) -> Cratefn clone_from(&mut self, source: &Self)
Prefix searches with a type followed by a colon (e.g.
fn:) to restrict the search to a given type.
Accepted types are: fn, mod,
struct (or str), enum,
trait, typedef (or
tdef).