pub struct SubRange {
pub offset: Offset,
pub size: Option<Offset>,
}
Expand description
A subrange of the buffer.
Fields§
§offset: Offset
Offset to the subrange.
size: Option<Offset>
Size of the subrange, or None for the remaining size of the buffer.
Implementations§
Trait Implementations§
impl Eq for SubRange
impl StructuralPartialEq for SubRange
Auto Trait Implementations§
impl Freeze for SubRange
impl RefUnwindSafe for SubRange
impl Send for SubRange
impl Sync for SubRange
impl Unpin for SubRange
impl UnwindSafe for SubRange
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