Struct predicates::path::ExistencePredicate
source · pub struct ExistencePredicate { /* private fields */ }
Expand description
Predicate that checks if a file is present
This is created by the predicate::path::exists
and predicate::path::missing
.
Trait Implementations§
source§impl Clone for ExistencePredicate
impl Clone for ExistencePredicate
source§fn clone(&self) -> ExistencePredicate
fn clone(&self) -> ExistencePredicate
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 ExistencePredicate
impl Debug for ExistencePredicate
source§impl Display for ExistencePredicate
impl Display for ExistencePredicate
source§impl PartialEq for ExistencePredicate
impl PartialEq for ExistencePredicate
source§fn eq(&self, other: &ExistencePredicate) -> bool
fn eq(&self, other: &ExistencePredicate) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Predicate<Path> for ExistencePredicate
impl Predicate<Path> for ExistencePredicate
impl Copy for ExistencePredicate
impl Eq for ExistencePredicate
impl StructuralPartialEq for ExistencePredicate
Auto Trait Implementations§
impl Freeze for ExistencePredicate
impl RefUnwindSafe for ExistencePredicate
impl Send for ExistencePredicate
impl Sync for ExistencePredicate
impl Unpin for ExistencePredicate
impl UnwindSafe for ExistencePredicate
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<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<P, Item> PredicateBooleanExt<Item> for P
impl<P, Item> PredicateBooleanExt<Item> for P
source§fn and<B>(self, other: B) -> AndPredicate<Self, B, Item>
fn and<B>(self, other: B) -> AndPredicate<Self, B, Item>
Compute the logical AND of two
Predicate
results, returning the result. Read moresource§fn or<B>(self, other: B) -> OrPredicate<Self, B, Item>
fn or<B>(self, other: B) -> OrPredicate<Self, B, Item>
Compute the logical OR of two
Predicate
results, returning the result. Read more