Struct predicates::path::ExistencePredicate [−][src]
pub struct ExistencePredicate { /* fields omitted */ }
Predicate that checks if a file is present
This is created by the predicate::path::exists
and predicate::path::missing
.
Trait Implementations
impl Debug for ExistencePredicate
[src]
impl Debug for ExistencePredicate
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for ExistencePredicate
[src]
impl Clone for ExistencePredicate
fn clone(&self) -> ExistencePredicate
[src]
fn clone(&self) -> ExistencePredicate
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for ExistencePredicate
[src]
impl Copy for ExistencePredicate
impl PartialEq for ExistencePredicate
[src]
impl PartialEq for ExistencePredicate
fn eq(&self, other: &ExistencePredicate) -> bool
[src]
fn eq(&self, other: &ExistencePredicate) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &ExistencePredicate) -> bool
[src]
fn ne(&self, other: &ExistencePredicate) -> bool
This method tests for !=
.
impl Eq for ExistencePredicate
[src]
impl Eq for ExistencePredicate
impl Predicate<Path> for ExistencePredicate
[src]
impl Predicate<Path> for ExistencePredicate
fn eval(&self, path: &Path) -> bool
[src]
fn eval(&self, path: &Path) -> bool
Execute this Predicate
against variable
, returning the resulting boolean. Read more
fn find_case<'a>(&'a self, expected: bool, variable: &Path) -> Option<Case<'a>>
[src]
fn find_case<'a>(&'a self, expected: bool, variable: &Path) -> Option<Case<'a>>
Find a case that proves this predicate as expected
when run against variable
.
impl PredicateReflection for ExistencePredicate
[src]
impl PredicateReflection for ExistencePredicate
ⓘImportant traits for Box<R>fn parameters(&'a self) -> Box<Iterator<Item = Parameter<'a>> + 'a>
[src]
ⓘImportant traits for Box<R>
fn parameters(&'a self) -> Box<Iterator<Item = Parameter<'a>> + 'a>
Parameters of the current Predicate
.
ⓘImportant traits for Box<R>fn children(&'a self) -> Box<Iterator<Item = Child<'a>> + 'a>
[src]
ⓘImportant traits for Box<R>
fn children(&'a self) -> Box<Iterator<Item = Child<'a>> + 'a>
Nested Predicate
s of the current Predicate
.
impl Display for ExistencePredicate
[src]
impl Display for ExistencePredicate
Auto Trait Implementations
impl Send for ExistencePredicate
impl Send for ExistencePredicate
impl Sync for ExistencePredicate
impl Sync for ExistencePredicate