pub struct ButtonCond {
pub idle_to_over_up: bool,
pub over_up_to_idle: bool,
pub over_up_to_over_down: bool,
pub over_down_to_over_up: bool,
pub over_down_to_out_down: bool,
pub out_down_to_over_down: bool,
pub out_down_to_idle: bool,
pub idle_to_over_down: bool,
pub over_down_to_idle: bool,
pub key_press: Option<u32>,
}
Fields§
§idle_to_over_up: bool
§over_up_to_idle: bool
§over_up_to_over_down: bool
§over_down_to_over_up: bool
§over_down_to_out_down: bool
§out_down_to_over_down: bool
§out_down_to_idle: bool
§idle_to_over_down: bool
§over_down_to_idle: bool
§key_press: Option<u32>
Trait Implementations§
Source§impl Clone for ButtonCond
impl Clone for ButtonCond
Source§fn clone(&self) -> ButtonCond
fn clone(&self) -> ButtonCond
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 Debug for ButtonCond
impl Debug for ButtonCond
Source§impl<'de> Deserialize<'de> for ButtonCond
impl<'de> Deserialize<'de> for ButtonCond
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for ButtonCond
impl Hash for ButtonCond
Source§impl Ord for ButtonCond
impl Ord for ButtonCond
Source§fn cmp(&self, other: &ButtonCond) -> Ordering
fn cmp(&self, other: &ButtonCond) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ButtonCond
impl PartialEq for ButtonCond
Source§impl PartialOrd for ButtonCond
impl PartialOrd for ButtonCond
Source§impl Serialize for ButtonCond
impl Serialize for ButtonCond
impl Copy for ButtonCond
impl Eq for ButtonCond
impl StructuralPartialEq for ButtonCond
Auto Trait Implementations§
impl Freeze for ButtonCond
impl RefUnwindSafe for ButtonCond
impl Send for ButtonCond
impl Sync for ButtonCond
impl Unpin for ButtonCond
impl UnwindSafe for ButtonCond
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