Enum uu_cp::ClobberMode
source · [−]pub enum ClobberMode {
Force,
RemoveDestination,
Standard,
}
Expand description
Specifies whether when overwrite files
Variants
Force
RemoveDestination
Standard
Trait Implementations
sourceimpl Clone for ClobberMode
impl Clone for ClobberMode
sourcefn clone(&self) -> ClobberMode
fn clone(&self) -> ClobberMode
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl PartialEq<ClobberMode> for ClobberMode
impl PartialEq<ClobberMode> for ClobberMode
sourcefn eq(&self, other: &ClobberMode) -> bool
fn eq(&self, other: &ClobberMode) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl Copy for ClobberMode
impl Eq for ClobberMode
impl StructuralEq for ClobberMode
impl StructuralPartialEq for ClobberMode
Auto Trait Implementations
impl RefUnwindSafe for ClobberMode
impl Send for ClobberMode
impl Sync for ClobberMode
impl Unpin for ClobberMode
impl UnwindSafe for ClobberMode
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.