pub struct Reaction {
pub func: Rc<dyn Fn() + 'static>,
}
Fields§
§func: Rc<dyn Fn() + 'static>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Reaction
impl !RefUnwindSafe for Reaction
impl !Send for Reaction
impl !Sync for Reaction
impl Unpin for Reaction
impl !UnwindSafe for Reaction
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