pub struct QueuedInputSnapshot { /* private fields */ }Expand description
Read-only startup snapshot containing only one middleware’s queued input.
Implementations§
Source§impl QueuedInputSnapshot
impl QueuedInputSnapshot
Sourcepub fn latest(&self) -> Option<QueuedInputView<'_>>
pub fn latest(&self) -> Option<QueuedInputView<'_>>
Returns the newest queued item owned by this middleware.
Trait Implementations§
Source§impl Clone for QueuedInputSnapshot
impl Clone for QueuedInputSnapshot
Source§fn clone(&self) -> QueuedInputSnapshot
fn clone(&self) -> QueuedInputSnapshot
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for QueuedInputSnapshot
impl Default for QueuedInputSnapshot
Source§fn default() -> QueuedInputSnapshot
fn default() -> QueuedInputSnapshot
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for QueuedInputSnapshot
impl RefUnwindSafe for QueuedInputSnapshot
impl Send for QueuedInputSnapshot
impl Sync for QueuedInputSnapshot
impl Unpin for QueuedInputSnapshot
impl UnsafeUnpin for QueuedInputSnapshot
impl UnwindSafe for QueuedInputSnapshot
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