pub enum DiffSide {
Old,
New,
}Expand description
The side of a patch to which a line or comment belongs.
Variants§
Implementations§
Trait Implementations§
impl Copy for DiffSide
Source§impl<'de> Deserialize<'de> for DiffSide
impl<'de> Deserialize<'de> for DiffSide
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
impl Eq for DiffSide
Source§impl Ord for DiffSide
impl Ord for DiffSide
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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for DiffSide
impl PartialOrd for DiffSide
impl StructuralPartialEq for DiffSide
Auto Trait Implementations§
impl Freeze for DiffSide
impl RefUnwindSafe for DiffSide
impl Send for DiffSide
impl Sync for DiffSide
impl Unpin for DiffSide
impl UnsafeUnpin for DiffSide
impl UnwindSafe for DiffSide
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