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<ExistencePredicate> for ExistencePredicate
impl PartialEq<ExistencePredicate> 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 StructuralEq for ExistencePredicate
impl StructuralPartialEq for ExistencePredicate
Auto Trait Implementations§
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<P, Item> PredicateBooleanExt<Item> for Pwhere
P: Predicate<Item>,
Item: ?Sized,
impl<P, Item> PredicateBooleanExt<Item> for Pwhere P: Predicate<Item>, Item: ?Sized,
source§fn and<B>(self, other: B) -> AndPredicate<Self, B, Item>where
B: Predicate<Item>,
Self: Sized,
fn and<B>(self, other: B) -> AndPredicate<Self, B, Item>where B: Predicate<Item>, Self: Sized,
Compute the logical AND of two
Predicate
results, returning the result. Read more