Struct wasmer_compiler::TrampolinesSection [−][src]
pub struct TrampolinesSection {
pub section_index: SectionIndex,
pub slots: usize,
pub size: usize,
}
Expand description
Trampolines section used by ARM short jump (26bits)
Fields
section_index: SectionIndex
SectionIndex for the actual Trampolines code
slots: usize
Number of jump slots in the section
size: usize
Slot size
Implementations
Creates a Trampolines
struct with the indice for its section, and number of slots and size of slot
Trait Implementations
impl Archive for TrampolinesSection where
SectionIndex: Archive,
usize: Archive,
usize: Archive,
impl Archive for TrampolinesSection where
SectionIndex: Archive,
usize: Archive,
usize: Archive,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl<__D: Fallible + ?Sized> Deserialize<TrampolinesSection, __D> for Archived<TrampolinesSection> where
SectionIndex: Archive,
Archived<SectionIndex>: Deserialize<SectionIndex, __D>,
usize: Archive,
Archived<usize>: Deserialize<usize, __D>,
usize: Archive,
Archived<usize>: Deserialize<usize, __D>,
impl<__D: Fallible + ?Sized> Deserialize<TrampolinesSection, __D> for Archived<TrampolinesSection> where
SectionIndex: Archive,
Archived<SectionIndex>: Deserialize<SectionIndex, __D>,
usize: Archive,
Archived<usize>: Deserialize<usize, __D>,
usize: Archive,
Archived<usize>: Deserialize<usize, __D>,
Deserializes using the given deserializer
Returns the size of the referenced value in bytes. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for TrampolinesSection
impl Send for TrampolinesSection
impl Sync for TrampolinesSection
impl Unpin for TrampolinesSection
impl UnwindSafe for TrampolinesSection
Blanket Implementations
type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
Converts some archived metadata to the pointer metadata for itself.
The archived counterpart of this type. Unlike Archive
, it may be unsized. Read more
type MetadataResolver = ()
type MetadataResolver = ()
The resolver for the metadata of this type. Read more
pub unsafe fn resolve_metadata(
&self,
usize,
<T as ArchiveUnsized>::MetadataResolver,
*mut <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata
)
pub unsafe fn resolve_metadata(
&self,
usize,
<T as ArchiveUnsized>::MetadataResolver,
*mut <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata
)
Creates the archived version of the metadata for this value at the given position and writes it to the given output. Read more
Mutably borrows from an owned value. Read more
impl<F, W, T, D> Deserialize<With<T, W>, D> for F where
W: DeserializeWith<F, T, D>,
D: Fallible + ?Sized,
F: ?Sized,
impl<F, W, T, D> Deserialize<With<T, W>, D> for F where
W: DeserializeWith<F, T, D>,
D: Fallible + ?Sized,
F: ?Sized,
Compare self to key
and return true
if they are equal.