pub struct Module {
pub kind: ModuleKind,
pub semicolon_token: SemicolonToken,
pub dependencies: Vec<Dependency>,
pub items: Vec<Item>,
}
Fields
kind: ModuleKind
semicolon_token: SemicolonToken
dependencies: Vec<Dependency>
items: Vec<Item>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Module
impl Send for Module
impl Sync for Module
impl Unpin for Module
impl UnwindSafe for Module
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more