pub struct SectionDescriptor {
pub offset: u32,
pub size: u32,
}Expand description
A single section descriptor: offset + size (both u32, little-endian).
Fields§
§offset: u32§size: u32Trait Implementations§
Source§impl Clone for SectionDescriptor
impl Clone for SectionDescriptor
Source§fn clone(&self) -> SectionDescriptor
fn clone(&self) -> SectionDescriptor
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 Debug for SectionDescriptor
impl Debug for SectionDescriptor
Source§impl PartialEq for SectionDescriptor
impl PartialEq for SectionDescriptor
impl Copy for SectionDescriptor
impl Eq for SectionDescriptor
impl StructuralPartialEq for SectionDescriptor
Auto Trait Implementations§
impl Freeze for SectionDescriptor
impl RefUnwindSafe for SectionDescriptor
impl Send for SectionDescriptor
impl Sync for SectionDescriptor
impl Unpin for SectionDescriptor
impl UnsafeUnpin for SectionDescriptor
impl UnwindSafe for SectionDescriptor
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