pub struct CallbackCell(/* private fields */);
Expand description
Like an Atomic<Option<Box<dyn FnOnce() + Send + 'static>>>
.
See CallbackCellArgs
for a version with args.
Implementations§
Trait Implementations§
Source§impl Debug for CallbackCell
impl Debug for CallbackCell
Source§impl Default for CallbackCell
impl Default for CallbackCell
Auto Trait Implementations§
impl !Freeze for CallbackCell
impl RefUnwindSafe for CallbackCell
impl Send for CallbackCell
impl Sync for CallbackCell
impl Unpin for CallbackCell
impl UnwindSafe for CallbackCell
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