pub struct FnValue<V: Value, F>(pub F)
where
F: for<'c, 'd> Fn(&'c Record<'d>) -> V;
Expand description
Explicit lazy-closure Value
Tuple Fields§
§0: F
Trait Implementations§
Auto Trait Implementations§
impl<V, F> Freeze for FnValue<V, F>where
F: Freeze,
impl<V, F> RefUnwindSafe for FnValue<V, F>where
F: RefUnwindSafe,
impl<V, F> Send for FnValue<V, F>where
F: Send,
impl<V, F> Sync for FnValue<V, F>where
F: Sync,
impl<V, F> Unpin for FnValue<V, F>where
F: Unpin,
impl<V, F> UnwindSafe for FnValue<V, F>where
F: 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