pub enum FourButton {
Up,
Right,
Down,
Left,
}
Expand description
An one of four buttons which be placed like the diamond.
Variants§
Up
A button on the up.
Right
A button on the right.
Down
A button on the down.
Left
A button on the left.
Trait Implementations§
Source§impl Clone for FourButton
impl Clone for FourButton
Source§fn clone(&self) -> FourButton
fn clone(&self) -> FourButton
Returns a duplicate 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 Debug for FourButton
impl Debug for FourButton
Source§impl Hash for FourButton
impl Hash for FourButton
Source§impl PartialEq for FourButton
impl PartialEq for FourButton
Source§impl PartialOrd for FourButton
impl PartialOrd for FourButton
impl Copy for FourButton
impl Eq for FourButton
impl StructuralPartialEq for FourButton
Auto Trait Implementations§
impl Freeze for FourButton
impl RefUnwindSafe for FourButton
impl Send for FourButton
impl Sync for FourButton
impl Unpin for FourButton
impl UnwindSafe for FourButton
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