pub struct Module {
pub entries: Vec<TopLevel>,
pub uses: FxHashMap<String, String>,
}
Expand description
A module is a collection of top level entries that contains syntatic sugars. In the future it will contain a HashMap to local renames.
Fields§
§entries: Vec<TopLevel>
§uses: FxHashMap<String, String>
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