#[repr(transparent)]pub struct ModHandle(pub usize);Expand description
An opaque handle the loader gives each mod; every call names its caller with it.
§Examples
use enshwick::abi::ModHandle;
assert_eq!(ModHandle::NONE, ModHandle(0));Tuple Fields§
§0: usizeImplementations§
Trait Implementations§
impl Copy for ModHandle
impl Eq for ModHandle
impl StructuralPartialEq for ModHandle
Auto Trait Implementations§
impl Freeze for ModHandle
impl RefUnwindSafe for ModHandle
impl Send for ModHandle
impl Sync for ModHandle
impl Unpin for ModHandle
impl UnsafeUnpin for ModHandle
impl UnwindSafe for ModHandle
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