pub struct InputEvent {
pub start_stop: StartStop,
}
Expand description
Input logic start/stop
Fields§
§start_stop: StartStop
True 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 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 Columnar for InputEvent
impl Columnar for InputEvent
Source§type Container = InputEventContainer<<StartStop as Columnar>::Container>
type Container = InputEventContainer<<StartStop as Columnar>::Container>
The type that stores the columnar representation. Read more
Source§fn copy_from<'a>(&mut self, other: Ref<'a, Self>)
fn copy_from<'a>(&mut self, other: Ref<'a, Self>)
Repopulates
self
from a reference. Read moreSource§fn into_owned<'a>(other: Ref<'a, Self>) -> Self
fn into_owned<'a>(other: Ref<'a, Self>) -> Self
Produce an instance of
Self
from Self::Ref<'a>
.Source§fn as_columns<'a, I>(selves: I) -> Self::Containerwhere
I: IntoIterator<Item = &'a Self>,
Self: 'a,
fn as_columns<'a, I>(selves: I) -> Self::Containerwhere
I: IntoIterator<Item = &'a Self>,
Self: 'a,
Converts a sequence of the references to the type into columnar form.
Source§fn into_columns<I>(selves: I) -> Self::Containerwhere
I: IntoIterator<Item = Self>,
Self: Sized,
fn into_columns<I>(selves: I) -> Self::Containerwhere
I: IntoIterator<Item = Self>,
Self: Sized,
Converts a sequence of the type into columnar form. Read more
Source§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<R0> PartialEq<InputEvent> for InputEventReference<R0>
impl<R0> PartialEq<InputEvent> for InputEventReference<R0>
Source§impl PartialEq for InputEvent
impl PartialEq for InputEvent
Source§impl PartialOrd for InputEvent
impl PartialOrd for InputEvent
Source§impl<'columnar, C0> Push<&'columnar InputEvent> for InputEventContainer<C0>
impl<'columnar, C0> Push<&'columnar InputEvent> for InputEventContainer<C0>
Source§fn push(&mut self, item: &'columnar InputEvent)
fn push(&mut self, item: &'columnar InputEvent)
Pushes an item onto
self
.Source§fn extend(&mut self, iter: impl IntoIterator<Item = T>)
fn extend(&mut self, iter: impl IntoIterator<Item = T>)
Pushes elements of an iterator onto
self
.Source§impl<C0> Push<InputEvent> for InputEventContainer<C0>
impl<C0> Push<InputEvent> for InputEventContainer<C0>
Source§fn push(&mut self, item: InputEvent)
fn push(&mut self, item: InputEvent)
Pushes an item onto
self
.Source§fn extend(&mut self, iter: impl IntoIterator<Item = T>)
fn extend(&mut self, iter: impl IntoIterator<Item = T>)
Pushes elements of an iterator onto
self
.Source§impl Serialize for InputEvent
impl Serialize for InputEvent
impl Copy 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§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more