pub struct EventSpec {
pub family: String,
pub payload: PayloadSpec,
}Expand description
Spec for a widget event.
Fields§
§family: StringEvent family name (e.g., “slide”, “click”, “change”).
payload: PayloadSpecExpected payload shape.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EventSpec
impl RefUnwindSafe for EventSpec
impl Send for EventSpec
impl Sync for EventSpec
impl Unpin for EventSpec
impl UnsafeUnpin for EventSpec
impl UnwindSafe for EventSpec
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