pub struct PredicateF;Expand description
Type constructor for predicates: Of<A> = Box<dyn Fn(A) -> bool>.
Trait Implementations§
Source§impl Conclude for PredicateF
impl Conclude for PredicateF
Source§impl Contravariant for PredicateF
Available on crate features std or alloc only.
impl Contravariant for PredicateF
Available on crate features
std or alloc only.fn contramap<A, B>(
fa: <PredicateF as HKT>::Of<A>,
f: impl Fn(B) -> A + 'static,
) -> <PredicateF as HKT>::Of<B>where
A: 'static,
Source§impl Decide for PredicateF
impl Decide for PredicateF
Source§impl Divide for PredicateF
impl Divide for PredicateF
Source§impl Divisible for PredicateF
impl Divisible for PredicateF
Auto Trait Implementations§
impl Freeze for PredicateF
impl RefUnwindSafe for PredicateF
impl Send for PredicateF
impl Sync for PredicateF
impl Unpin for PredicateF
impl UnsafeUnpin for PredicateF
impl UnwindSafe for PredicateF
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