pub struct Function<'core> { /* private fields */ }
Expand description
Holds a reference to a function that may be called.
Implementations§
Trait Implementations§
source§impl<'map, 'elem: 'map> ValueNotArray<'map, 'elem> for Function<'elem>
impl<'map, 'elem: 'map> ValueNotArray<'map, 'elem> for Function<'elem>
impl<'core> Send for Function<'core>
impl<'core> Sync for Function<'core>
Auto Trait Implementations§
impl<'core> RefUnwindSafe for Function<'core>
impl<'core> Unpin for Function<'core>
impl<'core> UnwindSafe for Function<'core>
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