pub struct LineId(/* private fields */);
Expand description
An index for file chunks within a patch.
Implementations§
Trait Implementations§
Source§impl AddAssign<usize> for LineId
impl AddAssign<usize> for LineId
Source§fn add_assign(&mut self, x: usize)
fn add_assign(&mut self, x: usize)
Performs the
+=
operation. Read moreSource§impl<'de> Deserialize<'de> for LineId
impl<'de> Deserialize<'de> for LineId
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Ord for LineId
impl Ord for LineId
Source§impl PartialOrd for LineId
impl PartialOrd for LineId
Source§impl ToHex for LineId
impl ToHex for LineId
impl Copy for LineId
impl Eq for LineId
impl StructuralPartialEq for LineId
Auto Trait Implementations§
impl Freeze for LineId
impl RefUnwindSafe for LineId
impl Send for LineId
impl Sync for LineId
impl Unpin for LineId
impl UnwindSafe for LineId
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