pub struct Pending<V, R>{ /* private fields */ }
Expand description
Indicates a map of values V
that depend on some references R
Implementations§
Source§impl<V, R> Pending<V, R>
impl<V, R> Pending<V, R>
pub fn new() -> Pending<V, R>
pub fn empty() -> Pending<V, R>
pub fn from_pair(v: V, r: R) -> Pending<V, R>
pub fn get(&self, k: &V) -> Option<&IndexSet<R>>
pub fn len(&self) -> usize
pub fn contains(&self, v: &V, r: &R) -> bool
pub fn merge(&mut self, other: Pending<V, R>)
pub fn insert(&mut self, v: V, r: R)
pub fn insert_values<T: IntoIterator<Item = R>>(&mut self, v: V, iter: T)
pub fn insert_from_iter<T: IntoIterator<Item = (V, R)>>(&mut self, iter: T)
pub fn is_empty(&self) -> bool
pub fn from<T: IntoIterator<Item = (V, RS)>, RS: IntoIterator<Item = R>>( iter: T, ) -> Pending<V, R>
pub fn iter(&self) -> PendingIterator<'_, V, R> ⓘ
pub fn pop(&mut self) -> Option<(V, R)>
Trait Implementations§
impl<V, R> Eq for Pending<V, R>
impl<V, R> StructuralPartialEq for Pending<V, R>
Auto Trait Implementations§
impl<V, R> Freeze for Pending<V, R>
impl<V, R> RefUnwindSafe for Pending<V, R>where
V: RefUnwindSafe,
R: RefUnwindSafe,
impl<V, R> Send for Pending<V, R>
impl<V, R> Sync for Pending<V, R>
impl<V, R> Unpin for Pending<V, R>
impl<V, R> UnwindSafe for Pending<V, R>where
V: UnwindSafe,
R: 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more