pub struct Partition {
pub start: usize,
pub end: usize,
}Expand description
A half-open byte range containing one or more complete data records.
Fields§
§start: usizeInclusive offset aligned to a #id= record start.
end: usizeExclusive offset aligned to the next record start or final semicolon.
Implementations§
Trait Implementations§
impl Copy for Partition
impl Eq for Partition
impl StructuralPartialEq for Partition
Auto Trait Implementations§
impl Freeze for Partition
impl RefUnwindSafe for Partition
impl Send for Partition
impl Sync for Partition
impl Unpin for Partition
impl UnsafeUnpin for Partition
impl UnwindSafe for Partition
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