pub struct NoticeView<'a, T, K = u64> {
pub notice: &'a Notice<T, K>,
pub remaining_seconds: f64,
}Expand description
A presentation snapshot borrowing the queue; iteration never consumes text.
Fields§
§notice: &'a Notice<T, K>§remaining_seconds: f64Trait Implementations§
Auto Trait Implementations§
impl<'a, T, K> Freeze for NoticeView<'a, T, K>
impl<'a, T, K> RefUnwindSafe for NoticeView<'a, T, K>where
T: RefUnwindSafe,
K: RefUnwindSafe,
impl<'a, T, K> Send for NoticeView<'a, T, K>
impl<'a, T, K> Sync for NoticeView<'a, T, K>
impl<'a, T, K> Unpin for NoticeView<'a, T, K>
impl<'a, T, K> UnwindSafe for NoticeView<'a, T, K>where
T: RefUnwindSafe,
K: RefUnwindSafe,
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