#[repr(C)]pub struct AutoloadInfoEntry {
pub base_address: u32,
pub code_size: u32,
pub bss_size: u32,
}Expand description
An entry in the autoload list.
Fields§
§base_address: u32Base address of the autoload module.
code_size: u32Size of the module’s initialized area.
bss_size: u32Size of the module’s uninitialized area.
Implementations§
Source§impl AutoloadInfoEntry
impl AutoloadInfoEntry
Sourcepub fn borrow_from_slice(data: &[u8]) -> Result<&[Self], RawAutoloadInfoError>
pub fn borrow_from_slice(data: &[u8]) -> Result<&[Self], RawAutoloadInfoError>
Reinterprets a &[u8] as a slice of AutoloadInfo.
§Errors
This function will return an error if the input has the wrong size or alignment.
Trait Implementations§
Source§impl Clone for AutoloadInfoEntry
impl Clone for AutoloadInfoEntry
Source§fn clone(&self) -> AutoloadInfoEntry
fn clone(&self) -> AutoloadInfoEntry
Returns a copy 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 Debug for AutoloadInfoEntry
impl Debug for AutoloadInfoEntry
Source§impl<'de> Deserialize<'de> for AutoloadInfoEntry
impl<'de> Deserialize<'de> for AutoloadInfoEntry
Source§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
Source§impl Ord for AutoloadInfoEntry
impl Ord for AutoloadInfoEntry
Source§fn cmp(&self, other: &AutoloadInfoEntry) -> Ordering
fn cmp(&self, other: &AutoloadInfoEntry) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for AutoloadInfoEntry
impl PartialEq for AutoloadInfoEntry
Source§impl PartialOrd for AutoloadInfoEntry
impl PartialOrd for AutoloadInfoEntry
Source§impl Serialize for AutoloadInfoEntry
impl Serialize for AutoloadInfoEntry
impl Copy for AutoloadInfoEntry
impl Eq for AutoloadInfoEntry
impl Pod for AutoloadInfoEntry
impl StructuralPartialEq for AutoloadInfoEntry
Auto Trait Implementations§
impl Freeze for AutoloadInfoEntry
impl RefUnwindSafe for AutoloadInfoEntry
impl Send for AutoloadInfoEntry
impl Sync for AutoloadInfoEntry
impl Unpin for AutoloadInfoEntry
impl UnwindSafe for AutoloadInfoEntry
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
Source§impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
Source§type Bits = T
type Bits = T
Self must have the same layout as the specified Bits except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern.Source§fn is_valid_bit_pattern(_bits: &T) -> bool
fn is_valid_bit_pattern(_bits: &T) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self.Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.