pub struct Func(/* private fields */);
Expand description
Represents a function pointer. It is mostly used in the
typed_func
module within the wrap
functions, to wrap imported
functions.
Auto Trait Implementations§
impl Freeze for Func
impl RefUnwindSafe for Func
impl !Send for Func
impl !Sync for Func
impl Unpin for Func
impl UnwindSafe for Func
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