pub struct IfPredicate(/* private fields */);Expand description
A predicate function for matching against interfaces.
Implementations§
Source§impl IfPredicate
impl IfPredicate
Trait Implementations§
Source§impl Clone for IfPredicate
impl Clone for IfPredicate
Source§fn clone(&self) -> IfPredicate
fn clone(&self) -> IfPredicate
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for IfPredicate
impl !UnwindSafe for IfPredicate
impl Freeze for IfPredicate
impl Send for IfPredicate
impl Sync for IfPredicate
impl Unpin for IfPredicate
impl UnsafeUnpin for IfPredicate
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