pub struct Symbol32 {
pub name_index_in_string_table: u32,
pub value: u32,
pub size: u32,
pub info: SymbolInfo,
pub other_info: SymbolOtherInfo,
pub related_section_index: u16,
}
Fields§
§name_index_in_string_table: u32
§value: u32
§size: u32
§info: SymbolInfo
§other_info: SymbolOtherInfo
Trait Implementations§
source§impl BinarySerde for Symbol32
impl BinarySerde for Symbol32
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, <u32 as BinarySerde>::RecursiveArray>, <u32 as BinarySerde>::RecursiveArray>, <u32 as BinarySerde>::RecursiveArray>, <SymbolInfo as BinarySerde>::RecursiveArray>, <SymbolOtherInfo as BinarySerde>::RecursiveArray>, <u16 as BinarySerde>::RecursiveArray>
type RecursiveArray = RecursiveArrayConcatenation<u8, RecursiveArrayConcatenation<u8, RecursiveArrayConcatenation<u8, RecursiveArrayConcatenation<u8, RecursiveArrayConcatenation<u8, RecursiveArrayConcatenation<u8, EmptyRecursiveArray, <u32 as BinarySerde>::RecursiveArray>, <u32 as BinarySerde>::RecursiveArray>, <u32 as BinarySerde>::RecursiveArray>, <SymbolInfo as BinarySerde>::RecursiveArray>, <SymbolOtherInfo as BinarySerde>::RecursiveArray>, <u16 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 Symbol32
impl PartialEq for Symbol32
impl Eq for Symbol32
impl StructuralPartialEq for Symbol32
Auto Trait Implementations§
impl Freeze for Symbol32
impl RefUnwindSafe for Symbol32
impl Send for Symbol32
impl Sync for Symbol32
impl Unpin for Symbol32
impl UnwindSafe for Symbol32
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