pub struct ActionCursor { /* private fields */ }Expand description
A consumer cursor starts at launch time: reconnects never replay old clicks.
Implementations§
Source§impl ActionCursor
impl ActionCursor
pub fn new(since_ms: u64) -> Self
pub fn take(&mut self, states: &[SessionState], now: u64) -> Vec<ActionState>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ActionCursor
impl RefUnwindSafe for ActionCursor
impl Send for ActionCursor
impl Sync for ActionCursor
impl Unpin for ActionCursor
impl UnsafeUnpin for ActionCursor
impl UnwindSafe for ActionCursor
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