pub(in sys) struct Module(NonNull<c_void>);
Expand description
Represents a loaded module.
Note that the modules std depends on must not be unloaded.
Therefore a Module
is always valid for the lifetime of std.
Tuple Fields§
§0: NonNull<c_void>
Implementations§
Trait Implementations§
Auto Trait Implementations§
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