pub struct RelationEntry<K> {
pub doc_id: DocId,
pub value: K,
}Expand description
One non-zero value in a Relation.
Fields§
§doc_id: DocId§value: KImplementations§
Trait Implementations§
Source§impl<K: Clone> Clone for RelationEntry<K>
impl<K: Clone> Clone for RelationEntry<K>
Source§fn clone(&self) -> RelationEntry<K>
fn clone(&self) -> RelationEntry<K>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<K: Debug> Debug for RelationEntry<K>
impl<K: Debug> Debug for RelationEntry<K>
Source§impl<K: PartialEq> PartialEq for RelationEntry<K>
impl<K: PartialEq> PartialEq for RelationEntry<K>
impl<K: PartialEq> StructuralPartialEq for RelationEntry<K>
Auto Trait Implementations§
impl<K> Freeze for RelationEntry<K>where
K: Freeze,
impl<K> RefUnwindSafe for RelationEntry<K>where
K: RefUnwindSafe,
impl<K> Send for RelationEntry<K>where
K: Send,
impl<K> Sync for RelationEntry<K>where
K: Sync,
impl<K> Unpin for RelationEntry<K>where
K: Unpin,
impl<K> UnsafeUnpin for RelationEntry<K>where
K: UnsafeUnpin,
impl<K> UnwindSafe for RelationEntry<K>where
K: 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