pub struct HunkId(/* private fields */);Expand description
Stable identifier for a hunk in one diff document.
Implementations§
Trait Implementations§
impl Copy for HunkId
impl Eq for HunkId
Source§impl Ord for HunkId
impl Ord for HunkId
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for HunkId
impl PartialOrd for HunkId
impl StructuralPartialEq for HunkId
Auto Trait Implementations§
impl Freeze for HunkId
impl RefUnwindSafe for HunkId
impl Send for HunkId
impl Sync for HunkId
impl Unpin for HunkId
impl UnsafeUnpin for HunkId
impl UnwindSafe for HunkId
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