pub struct ModuleMetadataSymbolRegistry {
pub prefix: String,
}
Expand description
A simple metadata registry
Fields
prefix: String
Symbol prefix stirng
Trait Implementations
sourceimpl SymbolRegistry for ModuleMetadataSymbolRegistry
impl SymbolRegistry for ModuleMetadataSymbolRegistry
sourcefn symbol_to_name(&self, symbol: Symbol) -> String
fn symbol_to_name(&self, symbol: Symbol) -> String
Given a Symbol
it returns the name for that symbol in the object file
Auto Trait Implementations
impl RefUnwindSafe for ModuleMetadataSymbolRegistry
impl Send for ModuleMetadataSymbolRegistry
impl Sync for ModuleMetadataSymbolRegistry
impl Unpin for ModuleMetadataSymbolRegistry
impl UnwindSafe for ModuleMetadataSymbolRegistry
Blanket Implementations
sourceimpl<T> ArchivePointee for T
impl<T> ArchivePointee for T
type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
sourcefn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more