[−][src]Enum keyed_priority_queue::Entry
A view into a single entry in a queue, which may either be vacant or occupied.
This enum is constructed from the entry method on KeyedPriorityQueue.
Variants
Occupied(OccupiedEntry<'a, TKey, TPriority, S>)An occupied entry.
Vacant(VacantEntry<'a, TKey, TPriority, S>)A vacant entry.
Auto Trait Implementations
impl<'a, TKey, TPriority, S> RefUnwindSafe for Entry<'a, TKey, TPriority, S> where
S: RefUnwindSafe,
TKey: RefUnwindSafe,
TPriority: RefUnwindSafe, [src]
S: RefUnwindSafe,
TKey: RefUnwindSafe,
TPriority: RefUnwindSafe,
impl<'a, TKey, TPriority, S> !Send for Entry<'a, TKey, TPriority, S>[src]
impl<'a, TKey, TPriority, S> !Sync for Entry<'a, TKey, TPriority, S>[src]
impl<'a, TKey, TPriority, S> Unpin for Entry<'a, TKey, TPriority, S> where
TKey: Unpin, [src]
TKey: Unpin,
impl<'a, TKey, TPriority, S> !UnwindSafe for Entry<'a, TKey, TPriority, S>[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,