pub enum BlameDiffAlgorithm {
Myers,
Histogram,
Patience,
Minimal,
}Variants§
Implementations§
Source§impl BlameDiffAlgorithm
impl BlameDiffAlgorithm
pub fn to_similar(self) -> SimilarAlgorithm
Trait Implementations§
Source§impl Clone for BlameDiffAlgorithm
impl Clone for BlameDiffAlgorithm
Source§fn clone(&self) -> BlameDiffAlgorithm
fn clone(&self) -> BlameDiffAlgorithm
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BlameDiffAlgorithm
Source§impl Debug for BlameDiffAlgorithm
impl Debug for BlameDiffAlgorithm
impl Eq for BlameDiffAlgorithm
Source§impl PartialEq for BlameDiffAlgorithm
impl PartialEq for BlameDiffAlgorithm
Source§fn eq(&self, other: &BlameDiffAlgorithm) -> bool
fn eq(&self, other: &BlameDiffAlgorithm) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BlameDiffAlgorithm
Auto Trait Implementations§
impl Freeze for BlameDiffAlgorithm
impl RefUnwindSafe for BlameDiffAlgorithm
impl Send for BlameDiffAlgorithm
impl Sync for BlameDiffAlgorithm
impl Unpin for BlameDiffAlgorithm
impl UnsafeUnpin for BlameDiffAlgorithm
impl UnwindSafe for BlameDiffAlgorithm
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