Struct catalyst_entities::CodeRelocator
source · pub struct CodeRelocator { /* private fields */ }Expand description
Contains reusable resources used to prerform relocation on CodeAllocator.
Implementations§
source§impl CodeRelocator
impl CodeRelocator
sourcepub fn relocate(&mut self, allocator: &mut CodeAllocator)
pub fn relocate(&mut self, allocator: &mut CodeAllocator)
Performs the relocation, all unmarked codes are removed.
Trait Implementations§
source§impl Default for CodeRelocator
impl Default for CodeRelocator
source§fn default() -> CodeRelocator
fn default() -> CodeRelocator
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !ArchiveCopy for CodeRelocator
impl NoInteriorMutability for CodeRelocator
impl RefUnwindSafe for CodeRelocator
impl Send for CodeRelocator
impl Sync for CodeRelocator
impl Unpin for CodeRelocator
impl UnwindSafe for CodeRelocator
Blanket Implementations§
source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
source§fn 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.