pub struct Module {
pub name: String,
pub extends: Vec<String>,
pub units: Vec<Unit>,
}Fields§
§name: String§extends: Vec<String>§units: Vec<Unit>Implementations§
Trait Implementations§
Source§impl Display for Module
A module, written back out in a single canonical form.
impl Display for Module
A module, written back out in a single canonical form.
Layout is not preserved — bulleted lists become infix operators and alignment is lost — so this is a normal form rather than a formatter that respects the author’s hand. Two files that mean the same thing print the same way, which is what makes it useful for comparing them.
impl Eq for Module
impl StructuralPartialEq for Module
Auto Trait Implementations§
impl Freeze for Module
impl RefUnwindSafe for Module
impl Send for Module
impl Sync for Module
impl Unpin for Module
impl UnsafeUnpin for Module
impl UnwindSafe for Module
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more