Struct Keys
pub struct Keys<'a, K: 'a, V: 'a> { /* private fields */ }
Iterator over the keys of a Trie.
Implementations
impl<'a, K, V> Keys<'a, K, V>
fn new(iter: Iter<'a, K, V>) -> Keys<'a, K, V>
Trait Implementations
impl<'a, K, V> Iterator for Keys<'a, K, V>
type Item = &'a K;fn next(&mut self) -> Option<&'a K>
Auto Trait Implementations
impl<'a, K, V> Freeze for Keys<'a, K, V>
where
Map<Iter<'a, K, V>, fn((&'a K, &'a V)) -> &'a K>: Freeze,
impl<'a, K, V> RefUnwindSafe for Keys<'a, K, V>
where
Map<Iter<'a, K, V>, fn((&'a K, &'a V)) -> &'a K>: RefUnwindSafe,
impl<'a, K, V> Send for Keys<'a, K, V>
where
Map<Iter<'a, K, V>, fn((&'a K, &'a V)) -> &'a K>: Send,
impl<'a, K, V> Sync for Keys<'a, K, V>
where
Map<Iter<'a, K, V>, fn((&'a K, &'a V)) -> &'a K>: Sync,
impl<'a, K, V> Unpin for Keys<'a, K, V>
where
Map<Iter<'a, K, V>, fn((&'a K, &'a V)) -> &'a K>: Unpin,
impl<'a, K, V> UnsafeUnpin for Keys<'a, K, V>
where
Map<Iter<'a, K, V>, fn((&'a K, &'a V)) -> &'a K>: UnsafeUnpin,
impl<'a, K, V> UnwindSafe for Keys<'a, K, V>
where
Map<Iter<'a, K, V>, fn((&'a K, &'a V)) -> &'a K>: UnwindSafe,
Blanket Implementations
impl<I> IntoIterator for Keys<'a, K, V>
where
I: Iterator,
type Item = <I as Iterator>::Item;type IntoIter = I;fn into_iter(self) -> I
impl<T> Any for Keys<'a, K, V>
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for Keys<'a, K, V>
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for Keys<'a, K, V>
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> From<T> for Keys<'a, K, V>
fn from(t: T) -> TReturns the argument unchanged.
impl<T, U> Into<U> for Keys<'a, K, V>
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for Keys<'a, K, V>
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for Keys<'a, K, V>
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>