pub struct Module {
pub definitions: Vec<Definition>,
/* private fields */
}
Fields§
§definitions: Vec<Definition>
Implementations§
Source§impl Module
impl Module
pub fn new(definitions: Vec<Definition>, statements: Vec<Statement>) -> Self
pub const fn statements(&self) -> &Vec<Statement>
pub const fn definitions(&self) -> &Vec<Definition>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Module
impl RefUnwindSafe for Module
impl Send for Module
impl Sync for Module
impl Unpin 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