pub struct LIFO<P: Priority>(/* private fields */);Expand description
A priority wrapper where newer entries with the same priority are placed before existing entries.
Trait Implementations§
Source§impl<P: Priority + ConstDefault> ConstDefault for LIFO<P>
Available on crate feature const-default only.
impl<P: Priority + ConstDefault> ConstDefault for LIFO<P>
Available on crate feature
const-default only.Source§impl<'de, P> Deserialize<'de> for LIFO<P>where
P: Deserialize<'de> + Priority,
impl<'de, P> Deserialize<'de> for LIFO<P>where
P: Deserialize<'de> + Priority,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl<P: Copy + Priority> Copy for LIFO<P>
Auto Trait Implementations§
impl<P> Freeze for LIFO<P>where
P: Freeze,
impl<P> RefUnwindSafe for LIFO<P>where
P: RefUnwindSafe,
impl<P> Send for LIFO<P>where
P: Send,
impl<P> Sync for LIFO<P>where
P: Sync,
impl<P> Unpin for LIFO<P>where
P: Unpin,
impl<P> UnsafeUnpin for LIFO<P>where
P: UnsafeUnpin,
impl<P> UnwindSafe for LIFO<P>where
P: 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