Struct predicates::path::FileContentPredicate [−][src]
Predicate adapter that converts a path
predicate to a byte predicate on its content.
This is created by pred.from_path()
.
Trait Implementations
impl<P: Debug> Debug for FileContentPredicate<P> where
P: Predicate<[u8]>,
[src]
impl<P: Debug> Debug for FileContentPredicate<P> where
P: Predicate<[u8]>,
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<P: Clone> Clone for FileContentPredicate<P> where
P: Predicate<[u8]>,
[src]
impl<P: Clone> Clone for FileContentPredicate<P> where
P: Predicate<[u8]>,
fn clone(&self) -> FileContentPredicate<P>
[src]
fn clone(&self) -> FileContentPredicate<P>
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<P: Copy> Copy for FileContentPredicate<P> where
P: Predicate<[u8]>,
[src]
impl<P: Copy> Copy for FileContentPredicate<P> where
P: Predicate<[u8]>,
impl<P: PartialEq> PartialEq for FileContentPredicate<P> where
P: Predicate<[u8]>,
[src]
impl<P: PartialEq> PartialEq for FileContentPredicate<P> where
P: Predicate<[u8]>,
fn eq(&self, other: &FileContentPredicate<P>) -> bool
[src]
fn eq(&self, other: &FileContentPredicate<P>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &FileContentPredicate<P>) -> bool
[src]
fn ne(&self, other: &FileContentPredicate<P>) -> bool
This method tests for !=
.
impl<P: Eq> Eq for FileContentPredicate<P> where
P: Predicate<[u8]>,
[src]
impl<P: Eq> Eq for FileContentPredicate<P> where
P: Predicate<[u8]>,
impl<P> PredicateReflection for FileContentPredicate<P> where
P: Predicate<[u8]>,
[src]
impl<P> PredicateReflection for FileContentPredicate<P> where
P: Predicate<[u8]>,
ⓘImportant traits for Box<R>fn children<'a>(&'a self) -> Box<Iterator<Item = Child<'a>> + 'a>
[src]
ⓘImportant traits for Box<R>
fn children<'a>(&'a self) -> Box<Iterator<Item = Child<'a>> + 'a>
Nested Predicate
s of the current Predicate
.
ⓘ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
.
impl<P> Display for FileContentPredicate<P> where
P: Predicate<[u8]>,
[src]
impl<P> Display for FileContentPredicate<P> where
P: Predicate<[u8]>,
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<P> Predicate<Path> for FileContentPredicate<P> where
P: Predicate<[u8]>,
[src]
impl<P> Predicate<Path> for FileContentPredicate<P> where
P: Predicate<[u8]>,
Auto Trait Implementations
impl<P> Send for FileContentPredicate<P> where
P: Send,
impl<P> Send for FileContentPredicate<P> where
P: Send,
impl<P> Sync for FileContentPredicate<P> where
P: Sync,
impl<P> Sync for FileContentPredicate<P> where
P: Sync,