pub struct SCDynamicStoreCallBackContext<T> {
pub callout: SCDynamicStoreCallBackT<T>,
pub info: T,
}
Expand description
Struct describing the callback happening when a watched value in the dynamic store is changed.
Fields§
§callout: SCDynamicStoreCallBackT<T>
The callback function that will be called when a watched value in the dynamic store is changed.
info: T
The argument passed to each callout
call. Can be used to keep state between
callbacks.
Auto Trait Implementations§
impl<T> Freeze for SCDynamicStoreCallBackContext<T>where
T: Freeze,
impl<T> RefUnwindSafe for SCDynamicStoreCallBackContext<T>where
T: RefUnwindSafe,
impl<T> Send for SCDynamicStoreCallBackContext<T>where
T: Send,
impl<T> Sync for SCDynamicStoreCallBackContext<T>where
T: Sync,
impl<T> Unpin for SCDynamicStoreCallBackContext<T>where
T: Unpin,
impl<T> UnwindSafe for SCDynamicStoreCallBackContext<T>where
T: 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