pub struct ParentPredicate<P> { /* private fields */ }
Expand description
Predicate for the parent of a CapturedSpan
or CapturedEvent
returned
by the parent()
function.
Trait Implementations§
Source§impl<Rhs, P> BitAnd<Rhs> for ParentPredicate<P>where
Self: PredicateReflection,
Rhs: PredicateReflection,
impl<Rhs, P> BitAnd<Rhs> for ParentPredicate<P>where
Self: PredicateReflection,
Rhs: PredicateReflection,
Source§impl<Rhs, P> BitOr<Rhs> for ParentPredicate<P>where
Self: PredicateReflection,
Rhs: PredicateReflection,
impl<Rhs, P> BitOr<Rhs> for ParentPredicate<P>where
Self: PredicateReflection,
Rhs: PredicateReflection,
Source§impl<P: Clone> Clone for ParentPredicate<P>
impl<P: Clone> Clone for ParentPredicate<P>
Source§fn clone(&self) -> ParentPredicate<P>
fn clone(&self) -> ParentPredicate<P>
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<P: Debug> Debug for ParentPredicate<P>
impl<P: Debug> Debug for ParentPredicate<P>
Source§impl<P> Display for ParentPredicate<P>where
P: for<'a> Predicate<CapturedSpan<'a>>,
impl<P> Display for ParentPredicate<P>where
P: for<'a> Predicate<CapturedSpan<'a>>,
Source§impl<P: PartialEq> PartialEq for ParentPredicate<P>
impl<P: PartialEq> PartialEq for ParentPredicate<P>
Source§impl<'a, P, T> Predicate<T> for ParentPredicate<P>where
T: Captured<'a>,
P: for<'p> Predicate<CapturedSpan<'p>>,
impl<'a, P, T> Predicate<T> for ParentPredicate<P>where
T: Captured<'a>,
P: for<'p> Predicate<CapturedSpan<'p>>,
Source§impl<P> PredicateReflection for ParentPredicate<P>where
P: for<'a> Predicate<CapturedSpan<'a>>,
impl<P> PredicateReflection for ParentPredicate<P>where
P: for<'a> Predicate<CapturedSpan<'a>>,
impl<P: Copy> Copy for ParentPredicate<P>
impl<P: Eq> Eq for ParentPredicate<P>
impl<P> StructuralPartialEq for ParentPredicate<P>
Auto Trait Implementations§
impl<P> Freeze for ParentPredicate<P>where
P: Freeze,
impl<P> RefUnwindSafe for ParentPredicate<P>where
P: RefUnwindSafe,
impl<P> Send for ParentPredicate<P>where
P: Send,
impl<P> Sync for ParentPredicate<P>where
P: Sync,
impl<P> Unpin for ParentPredicate<P>where
P: Unpin,
impl<P> UnwindSafe for ParentPredicate<P>where
P: UnwindSafe,
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<P, Item> PredicateBooleanExt<Item> for Pwhere
P: Predicate<Item>,
Item: ?Sized,
impl<P, Item> PredicateBooleanExt<Item> for Pwhere
P: Predicate<Item>,
Item: ?Sized,
§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