pub struct CodeSection {
pub name: String,
pub offset: u64,
pub size: u64,
pub flags: String,
}Expand description
Code section descriptor — real size from backend.
Fields§
§name: String§offset: u64§size: u64§flags: StringTrait Implementations§
Source§impl Clone for CodeSection
impl Clone for CodeSection
Source§fn clone(&self) -> CodeSection
fn clone(&self) -> CodeSection
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CodeSection
impl Debug for CodeSection
Source§impl<'de> Deserialize<'de> for CodeSection
impl<'de> Deserialize<'de> for CodeSection
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
impl Eq for CodeSection
Source§impl PartialEq for CodeSection
impl PartialEq for CodeSection
Source§fn eq(&self, other: &CodeSection) -> bool
fn eq(&self, other: &CodeSection) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CodeSection
impl Serialize for CodeSection
impl StructuralPartialEq for CodeSection
Auto Trait Implementations§
impl Freeze for CodeSection
impl RefUnwindSafe for CodeSection
impl Send for CodeSection
impl Sync for CodeSection
impl Unpin for CodeSection
impl UnsafeUnpin for CodeSection
impl UnwindSafe for CodeSection
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