pub struct HunkRange {
pub start: u32,
pub count: u32,
}Expand description
A side of a hunk. An empty range may start at zero; nonempty ranges are checked to fit positive u32 source line numbers by the parser.
Fields§
§start: u32§count: u32Trait Implementations§
impl Copy for HunkRange
impl Eq for HunkRange
impl StructuralPartialEq for HunkRange
Auto Trait Implementations§
impl Freeze for HunkRange
impl RefUnwindSafe for HunkRange
impl Send for HunkRange
impl Sync for HunkRange
impl Unpin for HunkRange
impl UnsafeUnpin for HunkRange
impl UnwindSafe for HunkRange
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