pub struct BackPresses {
pub count: RwSignal<u64>,
}Expand description
The app-facing back-press read surface (see the module docs). Obtained via
back_presses (frust::back_presses() at the facade).
Fields§
§count: RwSignal<u64>A monotonically increasing count of back presses delivered this
process. Read/track it with the Get/Track traits the same way any
other RwSignal is read; glue dedupes by comparing it against the last
value it consumed (see the module docs).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BackPresses
impl RefUnwindSafe for BackPresses
impl Send for BackPresses
impl Sync for BackPresses
impl Unpin for BackPresses
impl UnsafeUnpin for BackPresses
impl UnwindSafe for BackPresses
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> StorageAccess<T> for T
impl<T> StorageAccess<T> for T
Source§fn as_borrowed(&self) -> &T
fn as_borrowed(&self) -> &T
Borrows the value.
Source§fn into_taken(self) -> T
fn into_taken(self) -> T
Takes the value.