Enum quickdash::operations::CompareResult
source · pub enum CompareResult {
FileAdded(String),
FileRemoved(String),
FileIgnored(String),
}
Variants§
Trait Implementations§
source§impl Clone for CompareResult
impl Clone for CompareResult
source§fn clone(&self) -> CompareResult
fn clone(&self) -> CompareResult
Returns a copy 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 moresource§impl Debug for CompareResult
impl Debug for CompareResult
source§impl Hash for CompareResult
impl Hash for CompareResult
source§impl Ord for CompareResult
impl Ord for CompareResult
source§fn cmp(&self, other: &CompareResult) -> Ordering
fn cmp(&self, other: &CompareResult) -> Ordering
1.21.0 · 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 PartialEq<CompareResult> for CompareResult
impl PartialEq<CompareResult> for CompareResult
source§fn eq(&self, other: &CompareResult) -> bool
fn eq(&self, other: &CompareResult) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<CompareResult> for CompareResult
impl PartialOrd<CompareResult> for CompareResult
source§fn partial_cmp(&self, other: &CompareResult) -> Option<Ordering>
fn partial_cmp(&self, other: &CompareResult) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for CompareResult
impl StructuralEq for CompareResult
impl StructuralPartialEq for CompareResult
Auto Trait Implementations§
impl RefUnwindSafe for CompareResult
impl Send for CompareResult
impl Sync for CompareResult
impl Unpin for CompareResult
impl UnwindSafe for CompareResult
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
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.