Struct crate_metadata_serde::SerializedSection
source · pub struct SerializedSection {
pub name: String,
pub ty: SectionType,
pub global: bool,
pub virtual_address: usize,
pub offset: usize,
pub size: usize,
}
Expand description
A (de)serializable representation of a loaded section that is serde
-compatible.
See LoadedSection
for more detail on the fields of this struct.
Fields§
§name: String
The full name of the section.
ty: SectionType
The type of the section.
global: bool
Whether or not the section is global.
virtual_address: usize
The starting virtual address of the range covered by this section.
offset: usize
The offset into this section’s containing MappedPages
where this section starts.
size: usize
The size of the section.
Trait Implementations§
source§impl Debug for SerializedSection
impl Debug for SerializedSection
source§impl<'de> Deserialize<'de> for SerializedSection
impl<'de> Deserialize<'de> for SerializedSection
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 RefUnwindSafe for SerializedSection
impl Send for SerializedSection
impl Sync for SerializedSection
impl Unpin for SerializedSection
impl UnwindSafe for SerializedSection
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