pub struct MidenLib { /* private fields */ }Trait Implementations§
source§impl Library for MidenLib
impl Library for MidenLib
§type ModuleIterator<'a> = <MaslLibrary as Library>::ModuleIterator<'a>
type ModuleIterator<'a> = <MaslLibrary as Library>::ModuleIterator<'a>
The concrete type used to iterate the modules of the library.
source§fn root_ns(&self) -> &LibraryNamespace
fn root_ns(&self) -> &LibraryNamespace
Returns the root namespace of this library.
source§fn modules(&self) -> Self::ModuleIterator<'_>
fn modules(&self) -> Self::ModuleIterator<'_>
Iterate the modules available in the library.
source§fn dependencies(&self) -> &[LibraryNamespace]
fn dependencies(&self) -> &[LibraryNamespace]
Returns the dependency libraries of this library.
source§fn get_module_ast(&self, path: &LibraryPath) -> Option<&ModuleAst>
fn get_module_ast(&self, path: &LibraryPath) -> Option<&ModuleAst>
Returns the AST of the module stored at the provided path.
Auto Trait Implementations§
impl Freeze for MidenLib
impl RefUnwindSafe for MidenLib
impl Send for MidenLib
impl Sync for MidenLib
impl Unpin for MidenLib
impl UnwindSafe for MidenLib
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