pub struct Func<'a> { /* private fields */ }
Expand description
A layer defined by a simple closure.
Trait Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for Func<'a>
impl<'a> Send for Func<'a>
impl<'a> !Sync for Func<'a>
impl<'a> Unpin for Func<'a>
impl<'a> !UnwindSafe for Func<'a>
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