pub struct SectionInfo {
pub name: String,
pub segname: String,
pub addr: u64,
pub size: u64,
pub offset: u32,
pub align: u32,
pub flags: u32,
}Expand description
One section within a segment.
Fields§
§name: StringSection name.
segname: StringContaining segment name.
addr: u64Virtual address.
size: u64Size in bytes.
offset: u32File offset.
align: u32Alignment as power of two (1 << align).
flags: u32Section flags.
Trait Implementations§
Source§impl Clone for SectionInfo
impl Clone for SectionInfo
Source§fn clone(&self) -> SectionInfo
fn clone(&self) -> SectionInfo
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 SectionInfo
impl Debug for SectionInfo
impl Eq for SectionInfo
Source§impl PartialEq for SectionInfo
impl PartialEq for SectionInfo
impl StructuralPartialEq for SectionInfo
Auto Trait Implementations§
impl Freeze for SectionInfo
impl RefUnwindSafe for SectionInfo
impl Send for SectionInfo
impl Sync for SectionInfo
impl Unpin for SectionInfo
impl UnsafeUnpin for SectionInfo
impl UnwindSafe for SectionInfo
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