pub enum ImageButtonState {
Released,
Pressed,
Disabled,
CheckedReleased,
CheckedPressed,
CheckedDisabled,
}Expand description
Visual state of an ImageButton.
Variants§
Released
Normal unpressed state.
Pressed
Pointer currently held inside the button.
Disabled
Button is disabled and cannot be activated.
CheckedReleased
Button is checked (toggled on) and not pressed.
CheckedPressed
Button is checked and the pointer is currently held inside.
CheckedDisabled
Button is checked and disabled.
Trait Implementations§
Source§impl Clone for ImageButtonState
impl Clone for ImageButtonState
Source§fn clone(&self) -> ImageButtonState
fn clone(&self) -> ImageButtonState
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 ImageButtonState
Source§impl Debug for ImageButtonState
impl Debug for ImageButtonState
impl Eq for ImageButtonState
Source§impl PartialEq for ImageButtonState
impl PartialEq for ImageButtonState
impl StructuralPartialEq for ImageButtonState
Auto Trait Implementations§
impl Freeze for ImageButtonState
impl RefUnwindSafe for ImageButtonState
impl Send for ImageButtonState
impl Sync for ImageButtonState
impl Unpin for ImageButtonState
impl UnsafeUnpin for ImageButtonState
impl UnwindSafe for ImageButtonState
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