pub struct SyncSliceEstimatorArray<L, W = usize, S = Box<[W]>> { /* private fields */ }Expand description
A view of a SliceEstimatorArray as a SyncEstimatorArray.
Trait Implementations§
Source§impl<L: SliceEstimationLogic<W> + Sync, W: Word, S: AsRef<[SyncCell<W>]> + Sync> SyncEstimatorArray<L> for SyncSliceEstimatorArray<L, W, S>
impl<L: SliceEstimationLogic<W> + Sync, W: Word, S: AsRef<[SyncCell<W>]> + Sync> SyncEstimatorArray<L> for SyncSliceEstimatorArray<L, W, S>
Source§unsafe fn set(&self, index: usize, content: &L::Backend)
unsafe fn set(&self, index: usize, content: &L::Backend)
Sets the backend of the estimator at
index to the given backend, using a
shared reference to the estimator array. Read moreimpl<L, W, S> Sync for SyncSliceEstimatorArray<L, W, S>
Auto Trait Implementations§
impl<L, W, S> Freeze for SyncSliceEstimatorArray<L, W, S>
impl<L, W, S> RefUnwindSafe for SyncSliceEstimatorArray<L, W, S>
impl<L, W, S> Send for SyncSliceEstimatorArray<L, W, S>
impl<L, W, S> Unpin for SyncSliceEstimatorArray<L, W, S>
impl<L, W, S> UnsafeUnpin for SyncSliceEstimatorArray<L, W, S>where
L: UnsafeUnpin,
S: UnsafeUnpin,
impl<L, W, S> UnwindSafe for SyncSliceEstimatorArray<L, W, S>
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