pub enum ButtonState {
Idle,
Hovered,
Clicked,
}Variants§
Trait Implementations§
Source§impl Default for ButtonState
impl Default for ButtonState
Source§fn default() -> ButtonState
fn default() -> ButtonState
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ButtonState
impl RefUnwindSafe for ButtonState
impl Send for ButtonState
impl Sync for ButtonState
impl Unpin for ButtonState
impl UnsafeUnpin for ButtonState
impl UnwindSafe for ButtonState
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