pub struct Closure<F, Fut>{
pub f: F,
}
Expand description
see FnLayer
Fields§
§f: F
Implementations§
Trait Implementations§
Source§impl<F, Fut> FnLayerMethod for Closure<F, Fut>
impl<F, Fut> FnLayerMethod for Closure<F, Fut>
Auto Trait Implementations§
impl<F, Fut> Freeze for Closure<F, Fut>where
F: Freeze,
impl<F, Fut> RefUnwindSafe for Closure<F, Fut>where
F: RefUnwindSafe,
impl<F, Fut> Send for Closure<F, Fut>
impl<F, Fut> Sync for Closure<F, Fut>
impl<F, Fut> Unpin for Closure<F, Fut>where
F: Unpin,
impl<F, Fut> UnwindSafe for Closure<F, Fut>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