Struct ratel_bandit::RecordCounter
source · pub struct RecordCounter<T: ToPrimitive> { /* private fields */ }
Expand description
Counter for cases where individual records must be maintained.
Implementations§
source§impl<T: Num + ToPrimitive> RecordCounter<T>
impl<T: Num + ToPrimitive> RecordCounter<T>
Trait Implementations§
source§impl<T: AddAssign + Num + ToPrimitive> Counter<T> for RecordCounter<T>
impl<T: AddAssign + Num + ToPrimitive> Counter<T> for RecordCounter<T>
source§impl<T: Num + ToPrimitive> Default for RecordCounter<T>
impl<T: Num + ToPrimitive> Default for RecordCounter<T>
Auto Trait Implementations§
impl<T> RefUnwindSafe for RecordCounter<T>where
T: RefUnwindSafe,
impl<T> Send for RecordCounter<T>where
T: Send,
impl<T> Sync for RecordCounter<T>where
T: Sync,
impl<T> Unpin for RecordCounter<T>where
T: Unpin,
impl<T> UnwindSafe for RecordCounter<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