Struct bookdata::interactions::ratings::RatingDedup
source · pub struct RatingDedup<R>where
R: FromRatingSet,{
_phantom: PhantomData<R>,
table: HashMap<Key, Vec<(f32, i64)>>,
}
Expand description
Rating deduplicator.
Fields§
§_phantom: PhantomData<R>
§table: HashMap<Key, Vec<(f32, i64)>>
Implementations§
source§impl<R> RatingDedup<R>
impl<R> RatingDedup<R>
Trait Implementations§
source§impl<I: Interaction, R> Dedup<I> for RatingDedup<R>
impl<I: Interaction, R> Dedup<I> for RatingDedup<R>
source§impl<R> Default for RatingDedup<R>
impl<R> Default for RatingDedup<R>
source§fn default() -> RatingDedup<R>
fn default() -> RatingDedup<R>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<R> RefUnwindSafe for RatingDedup<R>where
R: RefUnwindSafe,
impl<R> Send for RatingDedup<R>where
R: Send,
impl<R> Sync for RatingDedup<R>where
R: Sync,
impl<R> Unpin for RatingDedup<R>where
R: Unpin,
impl<R> UnwindSafe for RatingDedup<R>where
R: 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