pub struct LuaModuleSpec {
pub library_path: PathBuf,
pub entrypoints: Vec<String>,
}Expand description
Metadata about a Lua C library that should be loaded through the compatibility layer.
Fields§
§library_path: PathBuf§entrypoints: Vec<String>Implementations§
Trait Implementations§
Source§impl Clone for LuaModuleSpec
impl Clone for LuaModuleSpec
Source§fn clone(&self) -> LuaModuleSpec
fn clone(&self) -> LuaModuleSpec
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for LuaModuleSpec
impl RefUnwindSafe for LuaModuleSpec
impl Send for LuaModuleSpec
impl Sync for LuaModuleSpec
impl Unpin for LuaModuleSpec
impl UnsafeUnpin for LuaModuleSpec
impl UnwindSafe for LuaModuleSpec
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