pub struct Iter<'a, C, S>where
C: Config,{ /* private fields */ }Expand description
An iterator-like structure for the raw trie.
This wraps the map and provides borrowed instances of the payloads. Note that due to the
borrowing from the iterator itself, it is not possible to create the true Iterator. As this
is used to implement the iterators of the wrapper convenience types, this is not considered a
serious limitation.
§Quirks
As noted in the crate-level documentation, changes to the content of the map done during the lifetime of the iterator (both in the current thread and other threads) may or may not be reflected in the returned values.
Implementations§
Auto Trait Implementations§
impl<'a, C, S> Freeze for Iter<'a, C, S>
impl<'a, C, S> !RefUnwindSafe for Iter<'a, C, S>
impl<'a, C, S> !Send for Iter<'a, C, S>
impl<'a, C, S> !Sync for Iter<'a, C, S>
impl<'a, C, S> Unpin for Iter<'a, C, S>
impl<'a, C, S> !UnwindSafe for Iter<'a, C, S>
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> 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