pub struct Module {
pub kind: ModuleKind,
pub semicolon_token: SemicolonToken,
pub items: Vec<Item>,
}Fields
kind: ModuleKindsemicolon_token: SemicolonTokenitems: Vec<Item>Implementations
sourceimpl Module
impl Module
pub fn dependencies(&self) -> impl Iterator<Item = &Dependency>
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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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