Enum makepad_widgets::button::ButtonAction
source · pub enum ButtonAction {
None,
Clicked,
Pressed,
Released,
}
Variants§
Trait Implementations§
source§impl Clone for ButtonAction
impl Clone for ButtonAction
source§fn clone(&self) -> ButtonAction
fn clone(&self) -> ButtonAction
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for ButtonAction
impl Default for ButtonAction
source§impl Into<Box<dyn WidgetAction, Global>> for ButtonAction
impl Into<Box<dyn WidgetAction, Global>> for ButtonAction
source§fn into(self) -> Box<dyn WidgetAction>
fn into(self) -> Box<dyn WidgetAction>
Converts this type into the (usually inferred) input type.
Auto Trait Implementations§
impl RefUnwindSafe for ButtonAction
impl Send for ButtonAction
impl Sync for ButtonAction
impl Unpin for ButtonAction
impl UnwindSafe for ButtonAction
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