pub struct FnMap<I: DeepView, O: DeepView, Exec: Fn(I) -> O, Spec: SpecMap<Input = I::V, Output = O::V>> { /* private fields */ }Expand description
Pairs an executable predicate closure with a ghost spec predicate.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<I, O, Exec, Spec> Freeze for FnMap<I, O, Exec, Spec>where
Exec: Freeze,
impl<I, O, Exec, Spec> RefUnwindSafe for FnMap<I, O, Exec, Spec>
impl<I, O, Exec, Spec> Send for FnMap<I, O, Exec, Spec>
impl<I, O, Exec, Spec> Sync for FnMap<I, O, Exec, Spec>
impl<I, O, Exec, Spec> Unpin for FnMap<I, O, Exec, Spec>
impl<I, O, Exec, Spec> UnsafeUnpin for FnMap<I, O, Exec, Spec>where
Exec: UnsafeUnpin,
impl<I, O, Exec, Spec> UnwindSafe for FnMap<I, O, Exec, Spec>
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