pub struct OnVarArgs<T: VarValue> {
pub value: T,
pub tags: Vec<Box<dyn AnyVarValue>>,
}Expand description
Arguments for a var event handler.
Fields§
§value: TThe new value.
Custom tag objects that where set when the value was modified.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for OnVarArgs<T>where
T: Freeze,
impl<T> !RefUnwindSafe for OnVarArgs<T>
impl<T> Send for OnVarArgs<T>
impl<T> Sync for OnVarArgs<T>
impl<T> Unpin for OnVarArgs<T>where
T: Unpin,
impl<T> !UnwindSafe for OnVarArgs<T>
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