pub struct HeaderRange {
pub start: usize,
pub range: usize,
}Expand description
Represents the range of lines in a hunk header
Fields§
§start: usizeThe line number the patch starts at
range: usizeThe line numbers visible for the patch
Trait Implementations§
Source§impl Clone for HeaderRange
impl Clone for HeaderRange
Source§fn clone(&self) -> HeaderRange
fn clone(&self) -> HeaderRange
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for HeaderRange
impl RefUnwindSafe for HeaderRange
impl Send for HeaderRange
impl Sync for HeaderRange
impl Unpin for HeaderRange
impl UnwindSafe for HeaderRange
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