pub enum EventArg {
Unknown,
None,
Pointer,
Wheel,
Gesture,
Swipe,
Key,
DateRange,
Value(PropKind),
}Expand description
O que um evento leva no args.
Variants§
Unknown
Ainda não declarado: o handler recebe o evento inteiro, como antes.
None
Nada (o clique, o foco): o handler recebe só quem disparou.
Pointer
Wheel
Gesture
Swipe
Key
DateRange
O intervalo de datas (início;fim) do Calendar com range.
Value(PropKind)
Um valor do tipo dado (o PropKind::String é o texto).
Trait Implementations§
impl Copy for EventArg
impl StructuralPartialEq for EventArg
Auto Trait Implementations§
impl Forget for EventArg
impl Freeze for EventArg
impl Move for EventArg
impl RefUnwindSafe for EventArg
impl Send for EventArg
impl Sync for EventArg
impl Unpin for EventArg
impl UnsafeUnpin for EventArg
impl UnwindSafe for EventArg
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