Expand description
A document’s entry in a View’s mappings.
Fields
source: HeaderThe header of the document that emitted this entry.
key: KThe key used to index the View.
value: VAn associated value stored in the view.
Implementations
Trait Implementations
sourceimpl<K: for<'a> Key<'a>, V> Extend<Map<K, V>> for Mappings<K, V>
impl<K: for<'a> Key<'a>, V> Extend<Map<K, V>> for Mappings<K, V>
sourcefn extend<T: IntoIterator<Item = Map<K, V>>>(&mut self, iter: T)
fn extend<T: IntoIterator<Item = Map<K, V>>>(&mut self, iter: T)
Extends a collection with the contents of an iterator. Read more
sourcefn extend_one(&mut self, item: A)
fn extend_one(&mut self, item: A)
🔬 This is a nightly-only experimental API. (
extend_one)Extends a collection with exactly one element.
sourcefn extend_reserve(&mut self, additional: usize)
fn extend_reserve(&mut self, additional: usize)
🔬 This is a nightly-only experimental API. (
extend_one)Reserves capacity in a collection for the given number of additional elements. Read more
sourceimpl<K: for<'a> Key<'a>, V> FromIterator<Map<K, V>> for Mappings<K, V>
impl<K: for<'a> Key<'a>, V> FromIterator<Map<K, V>> for Mappings<K, V>
sourcefn from_iter<T: IntoIterator<Item = Map<K, V>>>(iter: T) -> Self
fn from_iter<T: IntoIterator<Item = Map<K, V>>>(iter: T) -> Self
Creates a value from an iterator. Read more
impl<K: for<'a> Key<'a>, V> StructuralPartialEq for Map<K, V>
Auto Trait Implementations
impl<K, V> RefUnwindSafe for Map<K, V> where
K: RefUnwindSafe,
V: RefUnwindSafe,
impl<K, V> Send for Map<K, V> where
V: Send,
impl<K, V> Sync for Map<K, V> where
V: Sync,
impl<K, V> Unpin for Map<K, V> where
K: Unpin,
V: Unpin,
impl<K, V> UnwindSafe for Map<K, V> where
K: UnwindSafe,
V: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more