Struct matchbox_signaling::Callback
source · pub struct Callback<In, Out = ()> { /* private fields */ }
Expand description
Universal callback wrapper.
An Arc
wrapper is used to make it cloneable and thread safe.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<In, Out> RefUnwindSafe for Callback<In, Out>
impl<In, Out> Send for Callback<In, Out>
impl<In, Out> Sync for Callback<In, Out>
impl<In, Out> Unpin for Callback<In, Out>
impl<In, Out> UnwindSafe for Callback<In, Out>
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