pub struct RelMips64 {
pub offset: u64,
pub symbol_index: u32,
pub special_symbol: u8,
pub ty3: RelocationTypeU8,
pub ty2: RelocationTypeU8,
pub ty: RelocationTypeU8,
}
Fields§
§offset: u64
§symbol_index: u32
§special_symbol: u8
§ty3: RelocationTypeU8
§ty2: RelocationTypeU8
§ty: RelocationTypeU8
Trait Implementations§
source§impl BinarySerde for RelMips64
impl BinarySerde for RelMips64
source§const SERIALIZED_SIZE: usize = 16usize
const SERIALIZED_SIZE: usize = 16usize
the size of this type when serialized to a packed binary format.
§type RecursiveArray = RecursiveArrayConcatenation<u8, RecursiveArrayConcatenation<u8, RecursiveArrayConcatenation<u8, RecursiveArrayConcatenation<u8, RecursiveArrayConcatenation<u8, RecursiveArrayConcatenation<u8, EmptyRecursiveArray, <u64 as BinarySerde>::RecursiveArray>, <u32 as BinarySerde>::RecursiveArray>, <u8 as BinarySerde>::RecursiveArray>, <RelocationTypeU8 as BinarySerde>::RecursiveArray>, <RelocationTypeU8 as BinarySerde>::RecursiveArray>, <RelocationTypeU8 as BinarySerde>::RecursiveArray>
type RecursiveArray = RecursiveArrayConcatenation<u8, RecursiveArrayConcatenation<u8, RecursiveArrayConcatenation<u8, RecursiveArrayConcatenation<u8, RecursiveArrayConcatenation<u8, RecursiveArrayConcatenation<u8, EmptyRecursiveArray, <u64 as BinarySerde>::RecursiveArray>, <u32 as BinarySerde>::RecursiveArray>, <u8 as BinarySerde>::RecursiveArray>, <RelocationTypeU8 as BinarySerde>::RecursiveArray>, <RelocationTypeU8 as BinarySerde>::RecursiveArray>, <RelocationTypeU8 as BinarySerde>::RecursiveArray>
the fixed size recursive array type that is returned when serializing this type to an array.
the length of this array is guaranteed to be equal to
Self::SERIALIZED_SIZE
.source§fn binary_serialize(&self, buf: &mut [u8], endianness: Endianness)
fn binary_serialize(&self, buf: &mut [u8], endianness: Endianness)
serialize this value into the given buffer using the given endianness. Read more
source§fn binary_deserialize(
buf: &[u8],
endianness: Endianness
) -> Result<Self, DeserializeError>
fn binary_deserialize( buf: &[u8], endianness: Endianness ) -> Result<Self, DeserializeError>
deserializes the given buffer using the given endianness into a value of this type. Read more
source§fn binary_serialize_to_array(
&self,
endianness: Endianness
) -> Self::RecursiveArray
fn binary_serialize_to_array( &self, endianness: Endianness ) -> Self::RecursiveArray
serialize this value to a fixed size array using the given endianness.
source§impl PartialEq for RelMips64
impl PartialEq for RelMips64
impl Eq for RelMips64
impl StructuralPartialEq for RelMips64
Auto Trait Implementations§
impl Freeze for RelMips64
impl RefUnwindSafe for RelMips64
impl Send for RelMips64
impl Sync for RelMips64
impl Unpin for RelMips64
impl UnwindSafe for RelMips64
Blanket Implementations§
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
Mutably borrows from an owned value. Read more