#[repr(u8)]pub enum RelocationSpecialSymbolMips64 {
Undefined = 0,
GP = 1,
GP0 = 2,
Loc = 3,
}Variants§
Undefined = 0
none
GP = 1
value of gp
GP0 = 2
value of gp used to create object being relocated
Loc = 3
address of location being relocated
Trait Implementations§
Source§impl BinarySerde for RelocationSpecialSymbolMips64
impl BinarySerde for RelocationSpecialSymbolMips64
Source§const SERIALIZED_SIZE: usize = 1usize
const SERIALIZED_SIZE: usize = 1usize
the size of this type when serialized to a packed binary format.
Source§type RecursiveArray = <u8 as BinarySerde>::RecursiveArray
type RecursiveArray = <u8 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 Clone for RelocationSpecialSymbolMips64
impl Clone for RelocationSpecialSymbolMips64
Source§fn clone(&self) -> RelocationSpecialSymbolMips64
fn clone(&self) -> RelocationSpecialSymbolMips64
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Hash for RelocationSpecialSymbolMips64
impl Hash for RelocationSpecialSymbolMips64
Source§impl PartialEq for RelocationSpecialSymbolMips64
impl PartialEq for RelocationSpecialSymbolMips64
Source§fn eq(&self, other: &RelocationSpecialSymbolMips64) -> bool
fn eq(&self, other: &RelocationSpecialSymbolMips64) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for RelocationSpecialSymbolMips64
impl Eq for RelocationSpecialSymbolMips64
impl StructuralPartialEq for RelocationSpecialSymbolMips64
Auto Trait Implementations§
impl Freeze for RelocationSpecialSymbolMips64
impl RefUnwindSafe for RelocationSpecialSymbolMips64
impl Send for RelocationSpecialSymbolMips64
impl Sync for RelocationSpecialSymbolMips64
impl Unpin for RelocationSpecialSymbolMips64
impl UnwindSafe for RelocationSpecialSymbolMips64
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