pub trait AsSyncArray<L: EstimationLogic + ?Sized> {
type SyncEstimatorArray<'a>: SyncEstimatorArray<L>
where Self: 'a;
// Required method
fn as_sync_array(&mut self) -> Self::SyncEstimatorArray<'_>;
}Expand description
A trait for estimator arrays that can be viewed as a SyncEstimatorArray.
Required Associated Types§
type SyncEstimatorArray<'a>: SyncEstimatorArray<L> where Self: 'a
Required Methods§
Sourcefn as_sync_array(&mut self) -> Self::SyncEstimatorArray<'_>
fn as_sync_array(&mut self) -> Self::SyncEstimatorArray<'_>
Converts a mutable reference to this type into a shared reference
to a SyncEstimatorArray.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.