pub struct StaticQueue<T, const S: usize> {
pub q: [Option<T>; S],
}Expand description
Statically defined fixed size “queue” of T bounded by queue max size S
Fields§
§q: [Option<T>; S]Implementations§
Auto Trait Implementations§
impl<T, const S: usize> Freeze for StaticQueue<T, S>where
T: Freeze,
impl<T, const S: usize> RefUnwindSafe for StaticQueue<T, S>where
T: RefUnwindSafe,
impl<T, const S: usize> Send for StaticQueue<T, S>where
T: Send,
impl<T, const S: usize> Sync for StaticQueue<T, S>where
T: Sync,
impl<T, const S: usize> Unpin for StaticQueue<T, S>where
T: Unpin,
impl<T, const S: usize> UnwindSafe for StaticQueue<T, S>where
T: UnwindSafe,
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