#[repr(C)]pub struct ArchivedSerializableCompilationwhere
PrimaryMap<LocalFunctionIndex, FunctionBody>: Archive,
PrimaryMap<LocalFunctionIndex, Vec<Relocation>>: Archive,
PrimaryMap<LocalFunctionIndex, CompiledFunctionFrameInfo>: Archive,
PrimaryMap<SignatureIndex, FunctionBody>: Archive,
PrimaryMap<FunctionIndex, FunctionBody>: Archive,
PrimaryMap<SectionIndex, CustomSection>: Archive,
PrimaryMap<SectionIndex, Vec<Relocation>>: Archive,
UnwindInfo: Archive,
GOT: Archive,
SectionIndex: Archive,
u32: Archive,{
pub function_bodies: <PrimaryMap<LocalFunctionIndex, FunctionBody> as Archive>::Archived,
pub function_relocations: <PrimaryMap<LocalFunctionIndex, Vec<Relocation>> as Archive>::Archived,
pub function_frame_info: <PrimaryMap<LocalFunctionIndex, CompiledFunctionFrameInfo> as Archive>::Archived,
pub function_call_trampolines: <PrimaryMap<SignatureIndex, FunctionBody> as Archive>::Archived,
pub dynamic_function_trampolines: <PrimaryMap<FunctionIndex, FunctionBody> as Archive>::Archived,
pub custom_sections: <PrimaryMap<SectionIndex, CustomSection> as Archive>::Archived,
pub custom_section_relocations: <PrimaryMap<SectionIndex, Vec<Relocation>> as Archive>::Archived,
pub unwind_info: <UnwindInfo as Archive>::Archived,
pub got: <GOT as Archive>::Archived,
pub libcall_trampolines: <SectionIndex as Archive>::Archived,
pub libcall_trampoline_len: <u32 as Archive>::Archived,
}std or core only.Expand description
An archived SerializableCompilation
Fields§
§function_bodies: <PrimaryMap<LocalFunctionIndex, FunctionBody> as Archive>::ArchivedThe archived counterpart of SerializableCompilation::function_bodies
function_relocations: <PrimaryMap<LocalFunctionIndex, Vec<Relocation>> as Archive>::ArchivedThe archived counterpart of SerializableCompilation::function_relocations
function_frame_info: <PrimaryMap<LocalFunctionIndex, CompiledFunctionFrameInfo> as Archive>::ArchivedThe archived counterpart of SerializableCompilation::function_frame_info
function_call_trampolines: <PrimaryMap<SignatureIndex, FunctionBody> as Archive>::ArchivedThe archived counterpart of SerializableCompilation::function_call_trampolines
dynamic_function_trampolines: <PrimaryMap<FunctionIndex, FunctionBody> as Archive>::ArchivedThe archived counterpart of SerializableCompilation::dynamic_function_trampolines
custom_sections: <PrimaryMap<SectionIndex, CustomSection> as Archive>::ArchivedThe archived counterpart of SerializableCompilation::custom_sections
custom_section_relocations: <PrimaryMap<SectionIndex, Vec<Relocation>> as Archive>::ArchivedThe archived counterpart of SerializableCompilation::custom_section_relocations
unwind_info: <UnwindInfo as Archive>::ArchivedThe archived counterpart of SerializableCompilation::unwind_info
got: <GOT as Archive>::ArchivedThe archived counterpart of SerializableCompilation::got
libcall_trampolines: <SectionIndex as Archive>::ArchivedThe archived counterpart of SerializableCompilation::libcall_trampolines
libcall_trampoline_len: <u32 as Archive>::ArchivedThe archived counterpart of SerializableCompilation::libcall_trampoline_len
Trait Implementations§
Source§impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedSerializableCompilationwhere
PrimaryMap<LocalFunctionIndex, FunctionBody>: Archive,
PrimaryMap<LocalFunctionIndex, Vec<Relocation>>: Archive,
PrimaryMap<LocalFunctionIndex, CompiledFunctionFrameInfo>: Archive,
PrimaryMap<SignatureIndex, FunctionBody>: Archive,
PrimaryMap<FunctionIndex, FunctionBody>: Archive,
PrimaryMap<SectionIndex, CustomSection>: Archive,
PrimaryMap<SectionIndex, Vec<Relocation>>: Archive,
UnwindInfo: Archive,
GOT: Archive,
SectionIndex: Archive,
u32: Archive,
<__C as Fallible>::Error: Trace,
<PrimaryMap<LocalFunctionIndex, FunctionBody> as Archive>::Archived: CheckBytes<__C>,
<PrimaryMap<LocalFunctionIndex, Vec<Relocation>> as Archive>::Archived: CheckBytes<__C>,
<PrimaryMap<LocalFunctionIndex, CompiledFunctionFrameInfo> as Archive>::Archived: CheckBytes<__C>,
<PrimaryMap<SignatureIndex, FunctionBody> as Archive>::Archived: CheckBytes<__C>,
<PrimaryMap<FunctionIndex, FunctionBody> as Archive>::Archived: CheckBytes<__C>,
<PrimaryMap<SectionIndex, CustomSection> as Archive>::Archived: CheckBytes<__C>,
<PrimaryMap<SectionIndex, Vec<Relocation>> as Archive>::Archived: CheckBytes<__C>,
<UnwindInfo as Archive>::Archived: CheckBytes<__C>,
<GOT as Archive>::Archived: CheckBytes<__C>,
<SectionIndex as Archive>::Archived: CheckBytes<__C>,
<u32 as Archive>::Archived: CheckBytes<__C>,
impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedSerializableCompilationwhere
PrimaryMap<LocalFunctionIndex, FunctionBody>: Archive,
PrimaryMap<LocalFunctionIndex, Vec<Relocation>>: Archive,
PrimaryMap<LocalFunctionIndex, CompiledFunctionFrameInfo>: Archive,
PrimaryMap<SignatureIndex, FunctionBody>: Archive,
PrimaryMap<FunctionIndex, FunctionBody>: Archive,
PrimaryMap<SectionIndex, CustomSection>: Archive,
PrimaryMap<SectionIndex, Vec<Relocation>>: Archive,
UnwindInfo: Archive,
GOT: Archive,
SectionIndex: Archive,
u32: Archive,
<__C as Fallible>::Error: Trace,
<PrimaryMap<LocalFunctionIndex, FunctionBody> as Archive>::Archived: CheckBytes<__C>,
<PrimaryMap<LocalFunctionIndex, Vec<Relocation>> as Archive>::Archived: CheckBytes<__C>,
<PrimaryMap<LocalFunctionIndex, CompiledFunctionFrameInfo> as Archive>::Archived: CheckBytes<__C>,
<PrimaryMap<SignatureIndex, FunctionBody> as Archive>::Archived: CheckBytes<__C>,
<PrimaryMap<FunctionIndex, FunctionBody> as Archive>::Archived: CheckBytes<__C>,
<PrimaryMap<SectionIndex, CustomSection> as Archive>::Archived: CheckBytes<__C>,
<PrimaryMap<SectionIndex, Vec<Relocation>> as Archive>::Archived: CheckBytes<__C>,
<UnwindInfo as Archive>::Archived: CheckBytes<__C>,
<GOT as Archive>::Archived: CheckBytes<__C>,
<SectionIndex as Archive>::Archived: CheckBytes<__C>,
<u32 as Archive>::Archived: CheckBytes<__C>,
Source§impl Debug for ArchivedSerializableCompilationwhere
PrimaryMap<LocalFunctionIndex, FunctionBody>: Archive,
PrimaryMap<LocalFunctionIndex, Vec<Relocation>>: Archive,
PrimaryMap<LocalFunctionIndex, CompiledFunctionFrameInfo>: Archive,
PrimaryMap<SignatureIndex, FunctionBody>: Archive,
PrimaryMap<FunctionIndex, FunctionBody>: Archive,
PrimaryMap<SectionIndex, CustomSection>: Archive,
PrimaryMap<SectionIndex, Vec<Relocation>>: Archive,
UnwindInfo: Archive,
GOT: Archive,
SectionIndex: Archive,
u32: Archive,
impl Debug for ArchivedSerializableCompilationwhere
PrimaryMap<LocalFunctionIndex, FunctionBody>: Archive,
PrimaryMap<LocalFunctionIndex, Vec<Relocation>>: Archive,
PrimaryMap<LocalFunctionIndex, CompiledFunctionFrameInfo>: Archive,
PrimaryMap<SignatureIndex, FunctionBody>: Archive,
PrimaryMap<FunctionIndex, FunctionBody>: Archive,
PrimaryMap<SectionIndex, CustomSection>: Archive,
PrimaryMap<SectionIndex, Vec<Relocation>>: Archive,
UnwindInfo: Archive,
GOT: Archive,
SectionIndex: Archive,
u32: Archive,
impl Portable for ArchivedSerializableCompilationwhere
PrimaryMap<LocalFunctionIndex, FunctionBody>: Archive,
PrimaryMap<LocalFunctionIndex, Vec<Relocation>>: Archive,
PrimaryMap<LocalFunctionIndex, CompiledFunctionFrameInfo>: Archive,
PrimaryMap<SignatureIndex, FunctionBody>: Archive,
PrimaryMap<FunctionIndex, FunctionBody>: Archive,
PrimaryMap<SectionIndex, CustomSection>: Archive,
PrimaryMap<SectionIndex, Vec<Relocation>>: Archive,
UnwindInfo: Archive,
GOT: Archive,
SectionIndex: Archive,
u32: Archive,
<PrimaryMap<LocalFunctionIndex, FunctionBody> as Archive>::Archived: Portable,
<PrimaryMap<LocalFunctionIndex, Vec<Relocation>> as Archive>::Archived: Portable,
<PrimaryMap<LocalFunctionIndex, CompiledFunctionFrameInfo> as Archive>::Archived: Portable,
<PrimaryMap<SignatureIndex, FunctionBody> as Archive>::Archived: Portable,
<PrimaryMap<FunctionIndex, FunctionBody> as Archive>::Archived: Portable,
<PrimaryMap<SectionIndex, CustomSection> as Archive>::Archived: Portable,
<PrimaryMap<SectionIndex, Vec<Relocation>> as Archive>::Archived: Portable,
<UnwindInfo as Archive>::Archived: Portable,
<GOT as Archive>::Archived: Portable,
<SectionIndex as Archive>::Archived: Portable,
<u32 as Archive>::Archived: Portable,
Auto Trait Implementations§
impl Freeze for ArchivedSerializableCompilation
impl RefUnwindSafe for ArchivedSerializableCompilation
impl Send for ArchivedSerializableCompilation
impl Sync for ArchivedSerializableCompilation
impl !Unpin for ArchivedSerializableCompilation
impl UnwindSafe for ArchivedSerializableCompilation
Blanket Implementations§
Source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
Source§type ArchivedMetadata = ()
type ArchivedMetadata = ()
Source§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
Source§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Source§impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2
impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2
Source§unsafe fn is_niched(niched: *const NichedOption<T, N1>) -> bool
unsafe fn is_niched(niched: *const NichedOption<T, N1>) -> bool
Source§fn resolve_niched(out: Place<NichedOption<T, N1>>)
fn resolve_niched(out: Place<NichedOption<T, N1>>)
out indicating that a T is niched.Source§impl<T> Upcastable for T
impl<T> Upcastable for T
Source§fn upcast_any_ref(&self) -> &(dyn Any + 'static)
fn upcast_any_ref(&self) -> &(dyn Any + 'static)
std or core only.Source§fn upcast_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn upcast_any_mut(&mut self) -> &mut (dyn Any + 'static)
std or core only.