pub struct TriggerFn<A: Send, F: FnMut(&mut A) + Send> { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl<A: Send, F: FnMut(&mut A) + Send> LiveMod for TriggerFn<A, F>
impl<A: Send, F: FnMut(&mut A) + Send> LiveMod for TriggerFn<A, F>
Source§fn repr_default(&self, target: ActionTarget<'_, '_>) -> Namespaced<Repr>
fn repr_default(&self, target: ActionTarget<'_, '_>) -> Namespaced<Repr>
The default representation of the data. Read more
Auto Trait Implementations§
impl<A, F> Freeze for TriggerFn<A, F>
impl<A, F> RefUnwindSafe for TriggerFn<A, F>where
A: RefUnwindSafe,
F: RefUnwindSafe,
impl<A, F> Send for TriggerFn<A, F>
impl<A, F> Sync for TriggerFn<A, F>
impl<A, F> Unpin for TriggerFn<A, F>
impl<A, F> UnwindSafe for TriggerFn<A, F>where
A: UnwindSafe,
F: UnwindSafe,
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