pub struct SyncSliceEstimatorArray<L, W, S> { /* 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> 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
Source§impl<T, U> CastableInto<U> for Twhere
U: CastableFrom<T>,
impl<T, U> CastableInto<U> for Twhere
U: CastableFrom<T>,
Source§impl<T> DowncastableFrom<T> for T
impl<T> DowncastableFrom<T> for T
Source§fn downcast_from(value: T) -> T
fn downcast_from(value: T) -> T
Truncate the current UnsignedInt to a possibly smaller size
Source§impl<T, U> DowncastableInto<U> for Twhere
U: DowncastableFrom<T>,
impl<T, U> DowncastableInto<U> for Twhere
U: DowncastableFrom<T>,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> UpcastableFrom<T> for T
impl<T> UpcastableFrom<T> for T
Source§fn upcast_from(value: T) -> T
fn upcast_from(value: T) -> T
Extend the current UnsignedInt to a possibly bigger size.