pub struct Exports { /* private fields */ }Implementations§
Source§impl Exports
impl Exports
Sourcepub fn get_mut(&mut self, id: ExportId) -> &mut Export
pub fn get_mut(&mut self, id: ExportId) -> &mut Export
Gets a reference to an export given its id
Sourcepub fn iter(&self) -> impl Iterator<Item = &Export>
pub fn iter(&self) -> impl Iterator<Item = &Export>
Get a shared reference to this section’s exports.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Exports
impl RefUnwindSafe for Exports
impl Send for Exports
impl Sync for Exports
impl Unpin for Exports
impl UnwindSafe for Exports
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