pub struct RankedCollectionEntry<T> {
pub entry: CollectionEntry<T>,
pub score: f64,
}Expand description
RankedCollectionEntry data container.
Fields§
§entry: CollectionEntry<T>entry field for entry.
score: f64score field for score.
Trait Implementations§
Source§impl<T: Clone> Clone for RankedCollectionEntry<T>
impl<T: Clone> Clone for RankedCollectionEntry<T>
Source§fn clone(&self) -> RankedCollectionEntry<T>
fn clone(&self) -> RankedCollectionEntry<T>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<T: Debug> Debug for RankedCollectionEntry<T>
impl<T: Debug> Debug for RankedCollectionEntry<T>
Source§impl<T: PartialEq> PartialEq for RankedCollectionEntry<T>
impl<T: PartialEq> PartialEq for RankedCollectionEntry<T>
impl<T> StructuralPartialEq for RankedCollectionEntry<T>
Auto Trait Implementations§
impl<T> Freeze for RankedCollectionEntry<T>where
T: Freeze,
impl<T> RefUnwindSafe for RankedCollectionEntry<T>where
T: RefUnwindSafe,
impl<T> Send for RankedCollectionEntry<T>where
T: Send,
impl<T> Sync for RankedCollectionEntry<T>where
T: Sync,
impl<T> Unpin for RankedCollectionEntry<T>where
T: Unpin,
impl<T> UnsafeUnpin for RankedCollectionEntry<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for RankedCollectionEntry<T>where
T: 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