pub enum SpinButtonEvent {
SpinUp,
SpinDown,
Spin,
}Expand description
Events emitted by SpinButton
Variants§
SpinUp
Emitted when the up arrow is clicked
SpinDown
Emitted when the down arrow is clicked
Spin
Emitted when the value changes via either arrow
Trait Implementations§
Source§impl Clone for SpinButtonEvent
impl Clone for SpinButtonEvent
Source§fn clone(&self) -> SpinButtonEvent
fn clone(&self) -> SpinButtonEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SpinButtonEvent
Source§impl Debug for SpinButtonEvent
impl Debug for SpinButtonEvent
impl Eq for SpinButtonEvent
Source§impl PartialEq for SpinButtonEvent
impl PartialEq for SpinButtonEvent
Source§fn eq(&self, other: &SpinButtonEvent) -> bool
fn eq(&self, other: &SpinButtonEvent) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SpinButtonEvent
Auto Trait Implementations§
impl Freeze for SpinButtonEvent
impl RefUnwindSafe for SpinButtonEvent
impl Send for SpinButtonEvent
impl Sync for SpinButtonEvent
impl Unpin for SpinButtonEvent
impl UnsafeUnpin for SpinButtonEvent
impl UnwindSafe for SpinButtonEvent
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