pub enum Extent {
End,
Exact(usize),
Min(usize),
Max(usize),
}
Expand description
Variants§
End
A dynamic extent that implies the end byte position of an underlying file resource or anonymous allocation.
Exact(usize)
A static extent that referers to an exact byte position.
Min(usize)
A dynamic extent that referes a byte position of at least a particular offset.
Max(usize)
A dynamic extent that referes a byte position of no greater than a particular offset.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Extent
impl RefUnwindSafe for Extent
impl Send for Extent
impl Sync for Extent
impl Unpin for Extent
impl UnwindSafe for Extent
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