pub struct AutoloadInfo {
pub list_entry: AutoloadInfoEntry,
pub kind: AutoloadKind,
}Expand description
Info about an autoload block.
Fields§
§list_entry: AutoloadInfoEntryEntry in the autoload list.
kind: AutoloadKindThe kind of autoload block.
Implementations§
Source§impl AutoloadInfo
impl AutoloadInfo
Sourcepub fn new(list_entry: AutoloadInfoEntry, index: u32) -> Self
pub fn new(list_entry: AutoloadInfoEntry, index: u32) -> Self
Creates a new AutoloadInfo from an AutoloadInfoEntry.
Sourcepub fn base_address(&self) -> u32
pub fn base_address(&self) -> u32
Returns the index of this AutoloadInfo.
Sourcepub fn code_size(&self) -> u32
pub fn code_size(&self) -> u32
Returns the code size of this AutoloadInfo.
Sourcepub fn bss_size(&self) -> u32
pub fn bss_size(&self) -> u32
Returns the size of the uninitialized data of this AutoloadInfo.
Sourcepub fn kind(&self) -> AutoloadKind
pub fn kind(&self) -> AutoloadKind
Returns the kind of this AutoloadInfo.
Sourcepub fn entry(&self) -> &AutoloadInfoEntry
pub fn entry(&self) -> &AutoloadInfoEntry
Returns the entry of this AutoloadInfo.
Sourcepub fn display(&self, indent: usize) -> DisplayAutoloadInfo<'_>
pub fn display(&self, indent: usize) -> DisplayAutoloadInfo<'_>
Creates a DisplayAutoloadInfo which implements Display.
Trait Implementations§
Source§impl Clone for AutoloadInfo
impl Clone for AutoloadInfo
Source§fn clone(&self) -> AutoloadInfo
fn clone(&self) -> AutoloadInfo
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 Debug for AutoloadInfo
impl Debug for AutoloadInfo
Source§impl<'de> Deserialize<'de> for AutoloadInfo
impl<'de> Deserialize<'de> for AutoloadInfo
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 PartialEq for AutoloadInfo
impl PartialEq for AutoloadInfo
Source§impl Serialize for AutoloadInfo
impl Serialize for AutoloadInfo
impl Copy for AutoloadInfo
impl Eq for AutoloadInfo
impl StructuralPartialEq for AutoloadInfo
Auto Trait Implementations§
impl Freeze for AutoloadInfo
impl RefUnwindSafe for AutoloadInfo
impl Send for AutoloadInfo
impl Sync for AutoloadInfo
impl Unpin for AutoloadInfo
impl UnsafeUnpin for AutoloadInfo
impl UnwindSafe for AutoloadInfo
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