pub struct PriorityEntry<I: PartialEq> {
pub item: I,
pub priority: Priority,
}Fields§
§item: I§priority: PriorityTrait Implementations§
Source§impl<I: PartialEq + PartialEq> PartialEq for PriorityEntry<I>
impl<I: PartialEq + PartialEq> PartialEq for PriorityEntry<I>
Source§fn eq(&self, other: &PriorityEntry<I>) -> bool
fn eq(&self, other: &PriorityEntry<I>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<I: PartialEq> StructuralPartialEq for PriorityEntry<I>
Auto Trait Implementations§
impl<I> Freeze for PriorityEntry<I>where
I: Freeze,
impl<I> RefUnwindSafe for PriorityEntry<I>where
I: RefUnwindSafe,
impl<I> Send for PriorityEntry<I>where
I: Send,
impl<I> Sync for PriorityEntry<I>where
I: Sync,
impl<I> Unpin for PriorityEntry<I>where
I: Unpin,
impl<I> UnsafeUnpin for PriorityEntry<I>where
I: UnsafeUnpin,
impl<I> UnwindSafe for PriorityEntry<I>where
I: 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