Struct rustc_codegen_ssa::back::link::ThorinSession
source · struct ThorinSession<Relocations> {
arena_data: TypedArena<Vec<u8>>,
arena_mmap: TypedArena<Mmap>,
arena_relocations: TypedArena<Relocations>,
}Fields§
§arena_data: TypedArena<Vec<u8>>§arena_mmap: TypedArena<Mmap>§arena_relocations: TypedArena<Relocations>Implementations§
source§impl<Relocations> ThorinSession<Relocations>
impl<Relocations> ThorinSession<Relocations>
fn alloc_mmap(&self, data: Mmap) -> &Mmap
Trait Implementations§
source§impl<Relocations: Default> Default for ThorinSession<Relocations>
impl<Relocations: Default> Default for ThorinSession<Relocations>
source§fn default() -> ThorinSession<Relocations>
fn default() -> ThorinSession<Relocations>
Returns the “default value” for a type. Read more
source§impl<Relocations> Session<Relocations> for ThorinSession<Relocations>
impl<Relocations> Session<Relocations> for ThorinSession<Relocations>
source§fn alloc_data(&self, data: Vec<u8>) -> &[u8] ⓘ
fn alloc_data(&self, data: Vec<u8>) -> &[u8] ⓘ
Returns a reference to
data’s contents with lifetime 'session.source§fn alloc_relocation(&self, data: Relocations) -> &Relocations
fn alloc_relocation(&self, data: Relocations) -> &Relocations
Returns a reference to
relocation with lifetime 'session.Auto Trait Implementations§
impl<Relocations> !RefUnwindSafe for ThorinSession<Relocations>
impl<Relocations> Send for ThorinSession<Relocations>where Relocations: Send,
impl<Relocations> !Sync for ThorinSession<Relocations>
impl<Relocations> Unpin for ThorinSession<Relocations>where Relocations: Unpin,
impl<Relocations> UnwindSafe for ThorinSession<Relocations>where Relocations: UnwindSafe + RefUnwindSafe,
Blanket Implementations§
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 144 bytes