pub struct FileExtent {
pub sector: u32,
pub length: u64,
}Expand description
Represents where a file’s data lives on disk
Fields§
§sector: u32Starting sector (logical block address)
length: u64Length of the file data in bytes
Implementations§
Trait Implementations§
Source§impl Clone for FileExtent
impl Clone for FileExtent
Source§fn clone(&self) -> FileExtent
fn clone(&self) -> FileExtent
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 FileExtent
impl Debug for FileExtent
Source§impl Default for FileExtent
impl Default for FileExtent
Source§fn default() -> FileExtent
fn default() -> FileExtent
Returns the “default value” for a type. Read more
Source§impl Display for FileExtent
impl Display for FileExtent
impl Copy for FileExtent
Auto Trait Implementations§
impl Freeze for FileExtent
impl RefUnwindSafe for FileExtent
impl Send for FileExtent
impl Sync for FileExtent
impl Unpin for FileExtent
impl UnsafeUnpin for FileExtent
impl UnwindSafe for FileExtent
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