Struct syntax::ast::Mod[src]
pub struct Mod {
pub inner: Span,
pub view_items: Vec<ViewItem>,
pub items: Vec<Gc<Item>>,
}Fields
inner | A span from the first token past |
view_items | |
items |
pub struct Mod {
pub inner: Span,
pub view_items: Vec<ViewItem>,
pub items: Vec<Gc<Item>>,
}inner | A span from the first token past |
view_items | |
items |
impl<__S: Writer> Hash<__S> for Modfn hash(&self, __arg_0: &mut __S)impl<__D: Decoder<__E>, __E> Decodable<__D, __E> for Modimpl<__S: Encoder<__E>, __E> Encodable<__S, __E> for Modimpl Eq for Modfn assert_receiver_is_total_eq(&self)impl PartialEq for Modimpl Clone for Modfn clone(&self) -> Modfn 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).