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: StringThe full name of the section.
ty: SectionTypeThe type of the section.
global: boolWhether or not the section is global.
virtual_address: usizeThe starting virtual address of the range covered by this section.
offset: usizeThe offset into this section’s containing MappedPages where this section starts.
size: usizeThe 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