pub struct Map { /* private fields */ }Implementations§
Source§impl Map
impl Map
pub fn new() -> Self
pub fn get_by_index(&self, index: ModuleIndex) -> Option<&Module>
pub fn get_mut_by_index(&mut self, index: ModuleIndex) -> Option<&mut Module>
pub fn get_by_id(&self, id: &str) -> Option<&Module>
pub fn get_mut_by_id(&mut self, id: &str) -> Option<&mut Module>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Map
impl RefUnwindSafe for Map
impl Send for Map
impl Sync for Map
impl Unpin for Map
impl UnwindSafe for Map
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