Struct predicates::path::StrFilePredicate [−][src]
pub struct StrFilePredicate { /* fields omitted */ }
Predicate that compares string content of files
Trait Implementations
impl Debug for StrFilePredicate
[src]
impl Debug for StrFilePredicate
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 StrFilePredicate
[src]
impl Clone for StrFilePredicate
fn clone(&self) -> StrFilePredicate
[src]
fn clone(&self) -> StrFilePredicate
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 PartialEq for StrFilePredicate
[src]
impl PartialEq for StrFilePredicate
fn eq(&self, other: &StrFilePredicate) -> bool
[src]
fn eq(&self, other: &StrFilePredicate) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &StrFilePredicate) -> bool
[src]
fn ne(&self, other: &StrFilePredicate) -> bool
This method tests for !=
.
impl Eq for StrFilePredicate
[src]
impl Eq for StrFilePredicate
impl Predicate<Path> for StrFilePredicate
[src]
impl Predicate<Path> for StrFilePredicate
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 Predicate<str> for StrFilePredicate
[src]
impl Predicate<str> for StrFilePredicate
fn eval(&self, actual: &str) -> bool
[src]
fn eval(&self, actual: &str) -> bool
Execute this Predicate
against variable
, returning the resulting boolean. Read more
fn find_case<'a>(&'a self, expected: bool, variable: &str) -> Option<Case<'a>>
[src]
fn find_case<'a>(&'a self, expected: bool, variable: &str) -> Option<Case<'a>>
Find a case that proves this predicate as expected
when run against variable
.
impl PredicateReflection for StrFilePredicate
[src]
impl PredicateReflection for StrFilePredicate
ⓘImportant traits for Box<R>fn parameters<'a>(&'a self) -> Box<Iterator<Item = Parameter<'a>> + 'a>
[src]
ⓘImportant traits for Box<R>
fn parameters<'a>(&'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 StrFilePredicate
[src]
impl Display for StrFilePredicate
Auto Trait Implementations
impl Send for StrFilePredicate
impl Send for StrFilePredicate
impl Sync for StrFilePredicate
impl Sync for StrFilePredicate