pub struct ModuleProp {
pub name: String<{ _ }>,
pub filename: String<{ _ }>,
pub entry_point: usize,
}Expand description
A high-level wrapper for module properties.
Fields§
§name: String<{ _ }>The registered logical name of the module.
filename: String<{ _ }>The filename from which the module was loaded.
entry_point: usizeThe entry point address of the module.
Trait Implementations§
Source§impl Clone for ModuleProp
impl Clone for ModuleProp
Source§fn clone(&self) -> ModuleProp
fn clone(&self) -> ModuleProp
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 ModuleProp
impl RefUnwindSafe for ModuleProp
impl Send for ModuleProp
impl Sync for ModuleProp
impl Unpin for ModuleProp
impl UnsafeUnpin for ModuleProp
impl UnwindSafe for ModuleProp
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