pub trait ArrayShr<T, const N: usize>: ArrayMap<T, N> {
// Required methods
const fn shr_all<Rhs>(self, rhs: Rhs) -> [<T as Shr<Rhs>>::Output; N]
where T: Shr<Rhs>,
Rhs: Copy;
const async fn shr_all_async<Rhs>(
self,
rhs: Rhs,
) -> [<T as Shr<Rhs>>::Output; N]
where T: Shr<Rhs>,
Rhs: Copy;
const fn shr_each<Rhs>(self, rhs: Rhs) -> [<T as Shr<Rhs::Elem>>::Output; N]
where T: Shr<Rhs::Elem>,
Rhs: ArrayForm<N>;
const async fn shr_each_async<Rhs>(
self,
rhs: Rhs,
) -> [<T as Shr<Rhs::Elem>>::Output; N]
where T: Shr<Rhs::Elem>,
Rhs: ArrayForm<N>;
}
Required Methods§
const fn shr_all<Rhs>(self, rhs: Rhs) -> [<T as Shr<Rhs>>::Output; N]
const async fn shr_all_async<Rhs>( self, rhs: Rhs, ) -> [<T as Shr<Rhs>>::Output; N]
const fn shr_each<Rhs>(self, rhs: Rhs) -> [<T as Shr<Rhs::Elem>>::Output; N]
const async fn shr_each_async<Rhs>( self, rhs: Rhs, ) -> [<T as Shr<Rhs::Elem>>::Output; N]
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.