pub struct DynLibId(pub u64);Expand description
Opaque handle to a dynamically loaded library, allocated by a
DynLibLoadHook backend and stored in package._CLIBS.
The handle is a backend-owned u64; the embedder is free to use it as an
index into a Vec<libloading::Library> or a HashMap key. lua-stdlib
stores the value verbatim and never inspects it.
Tuple Fields§
§0: u64Trait Implementations§
impl Copy for DynLibId
impl Eq for DynLibId
impl StructuralPartialEq for DynLibId
Auto Trait Implementations§
impl Freeze for DynLibId
impl RefUnwindSafe for DynLibId
impl Send for DynLibId
impl Sync for DynLibId
impl Unpin for DynLibId
impl UnsafeUnpin for DynLibId
impl UnwindSafe for DynLibId
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