Struct assert_cmd::assert::StrContentOutputPredicate [−][src]
pub struct StrContentOutputPredicate(_);
Predicate used by IntoOutputPredicate
for str
.
Trait Implementations
impl Debug for StrContentOutputPredicate
[src]
impl Debug for StrContentOutputPredicate
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 StrContentOutputPredicate
[src]
impl Clone for StrContentOutputPredicate
fn clone(&self) -> StrContentOutputPredicate
[src]
fn clone(&self) -> StrContentOutputPredicate
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 PredicateReflection for StrContentOutputPredicate
[src]
impl PredicateReflection for StrContentOutputPredicate
fn parameters<'a>(&'a self) -> Box<Iterator<Item = Parameter<'a>> + 'a>
[src]
fn parameters<'a>(&'a self) -> Box<Iterator<Item = Parameter<'a>> + 'a>
Parameters of the current Predicate
.
fn children<'a>(&'a self) -> Box<Iterator<Item = Child<'a>> + 'a>
[src]
fn children<'a>(&'a self) -> Box<Iterator<Item = Child<'a>> + 'a>
Nested Predicate
s of the current Predicate
.
impl Predicate<[u8]> for StrContentOutputPredicate
[src]
impl Predicate<[u8]> for StrContentOutputPredicate
fn eval(&self, item: &[u8]) -> bool
[src]
fn eval(&self, item: &[u8]) -> bool
Execute this Predicate
against variable
, returning the resulting boolean. Read more
fn find_case<'a>(&'a self, expected: bool, variable: &[u8]) -> Option<Case<'a>>
[src]
fn find_case<'a>(&'a self, expected: bool, variable: &[u8]) -> Option<Case<'a>>
Find a case that proves this predicate as expected
when run against variable
.
impl Display for StrContentOutputPredicate
[src]
impl Display for StrContentOutputPredicate
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 IntoOutputPredicate<StrContentOutputPredicate> for &'static str
[src]
impl IntoOutputPredicate<StrContentOutputPredicate> for &'static str
type Predicate = StrContentOutputPredicate
The type of the predicate being returned.
fn into_output(self) -> Self::Predicate
[src]
fn into_output(self) -> Self::Predicate
Convert to a predicate for testing a path.
Auto Trait Implementations
impl Send for StrContentOutputPredicate
impl Send for StrContentOutputPredicate
impl Sync for StrContentOutputPredicate
impl Sync for StrContentOutputPredicate