pub struct ModuleFlagEntry(/* private fields */);
Expand description
Represents flags that describe information about the module for use by an external entity e.g. the dynamic linker.
Implementations§
Source§impl ModuleFlagEntry
impl ModuleFlagEntry
Sourcepub fn dispose_module_flags_metadata(&self)
pub fn dispose_module_flags_metadata(&self)
Destroys module flags metadata entries.
Sourcepub fn get_flag_behavior(&self, index: u32) -> ModuleFlagBehavior
pub fn get_flag_behavior(&self, index: u32) -> ModuleFlagBehavior
Returns the flag behavior for a module flag entry at a specific index.
Sourcepub fn get_key(&self, index: u32) -> Option<String>
pub fn get_key(&self, index: u32) -> Option<String>
Returns the key for a module flag entry at a specific index.
Sourcepub fn get_metadata(&self, index: u32) -> MetadataRef
pub fn get_metadata(&self, index: u32) -> MetadataRef
Returns the metadata for a module flag entry at a specific index.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ModuleFlagEntry
impl RefUnwindSafe for ModuleFlagEntry
impl !Send for ModuleFlagEntry
impl !Sync for ModuleFlagEntry
impl Unpin for ModuleFlagEntry
impl UnwindSafe for ModuleFlagEntry
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