pub struct InputEvent {
    pub start_stop: StartStop,
}Expand description
Input logic start/stop
Fields§
§start_stop: StartStopTrue when activity begins, false when it stops
Trait Implementations§
Source§impl Clone for InputEvent
 
impl Clone for InputEvent
Source§fn clone(&self) -> InputEvent
 
fn clone(&self) -> InputEvent
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 InputEvent
 
impl Debug for InputEvent
Source§impl<'de> Deserialize<'de> for InputEvent
 
impl<'de> Deserialize<'de> for InputEvent
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 From<InputEvent> for TimelyEvent
 
impl From<InputEvent> for TimelyEvent
Source§fn from(v: InputEvent) -> TimelyEvent
 
fn from(v: InputEvent) -> TimelyEvent
Converts to this type from the input type.
Source§impl Hash for InputEvent
 
impl Hash for InputEvent
Source§impl Ord for InputEvent
 
impl Ord for InputEvent
Source§fn cmp(&self, other: &InputEvent) -> Ordering
 
fn cmp(&self, other: &InputEvent) -> 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 InputEvent
 
impl PartialEq for InputEvent
Source§impl PartialOrd for InputEvent
 
impl PartialOrd for InputEvent
Source§impl Serialize for InputEvent
 
impl Serialize for InputEvent
impl Eq for InputEvent
impl StructuralPartialEq for InputEvent
Auto Trait Implementations§
impl Freeze for InputEvent
impl RefUnwindSafe for InputEvent
impl Send for InputEvent
impl Sync for InputEvent
impl Unpin for InputEvent
impl UnwindSafe for InputEvent
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
Source§impl<T> CloneToUninit for Twhere
    T: Clone,
 
impl<T> CloneToUninit for Twhere
    T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
 
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)