pub struct RatingDedup<R>{
_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> Freeze for RatingDedup<R>
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