pub struct ReadRange {
pub offset: u64,
pub length: u64,
}Expand description
A byte range within a file.
Fields§
§offset: u64Byte offset from the start of the file.
length: u64Number of bytes to read.
Trait Implementations§
impl Copy for ReadRange
impl Eq for ReadRange
impl StructuralPartialEq for ReadRange
Auto Trait Implementations§
impl Freeze for ReadRange
impl RefUnwindSafe for ReadRange
impl Send for ReadRange
impl Sync for ReadRange
impl Unpin for ReadRange
impl UnsafeUnpin for ReadRange
impl UnwindSafe for ReadRange
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