pub struct SegmentEntry {
pub logical_block: u64,
pub physical_block: u64,
pub number_of_blocks: u32,
}Expand description
One logical→physical segment mapping decoded from a 0x0305 block.
Fields§
§logical_block: u64Logical block number where this segment begins.
physical_block: u64First physical block of the segment.
number_of_blocks: u32Number of blocks in the segment.
Trait Implementations§
Source§impl Clone for SegmentEntry
impl Clone for SegmentEntry
Source§fn clone(&self) -> SegmentEntry
fn clone(&self) -> SegmentEntry
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 moreimpl Copy for SegmentEntry
Source§impl Debug for SegmentEntry
impl Debug for SegmentEntry
impl Eq for SegmentEntry
Source§impl PartialEq for SegmentEntry
impl PartialEq for SegmentEntry
Source§fn eq(&self, other: &SegmentEntry) -> bool
fn eq(&self, other: &SegmentEntry) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SegmentEntry
Auto Trait Implementations§
impl Freeze for SegmentEntry
impl RefUnwindSafe for SegmentEntry
impl Send for SegmentEntry
impl Sync for SegmentEntry
impl Unpin for SegmentEntry
impl UnsafeUnpin for SegmentEntry
impl UnwindSafe for SegmentEntry
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