pub struct OverlayInfo {
pub id: u32,
pub base_address: u32,
pub code_size: u32,
pub bss_size: u32,
pub ctor_start: u32,
pub ctor_end: u32,
pub file_id: u32,
pub compressed: bool,
}Expand description
Info of an Overlay, similar to an entry in the overlay table.
Fields§
§id: u32Overlay ID.
base_address: u32Base address.
code_size: u32Initialized size.
bss_size: u32Uninitialized size.
ctor_start: u32Offset to start of .ctor section.
ctor_end: u32Offset to end of .ctor section.
file_id: u32File ID for the FAT.
compressed: boolWhether the overlay is compressed.
Implementations§
Source§impl OverlayInfo
impl OverlayInfo
Sourcepub fn new(overlay: &Overlay) -> Self
pub fn new(overlay: &Overlay) -> Self
Creates a new OverlayInfo from raw data.
Trait Implementations§
Source§impl Clone for OverlayInfo
impl Clone for OverlayInfo
Source§fn clone(&self) -> OverlayInfo
fn clone(&self) -> OverlayInfo
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<'de> Deserialize<'de> for OverlayInfo
impl<'de> Deserialize<'de> for OverlayInfo
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
Auto Trait Implementations§
impl Freeze for OverlayInfo
impl RefUnwindSafe for OverlayInfo
impl Send for OverlayInfo
impl Sync for OverlayInfo
impl Unpin for OverlayInfo
impl UnsafeUnpin for OverlayInfo
impl UnwindSafe for OverlayInfo
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