pub trait CountOnes:
CubePrimitive
+ CubeType<ExpandType: CountOnesExpand + CubePrimitiveExpand<WithScalar<u32> = NativeExpand<Self::WithScalar<u32>>>>
+ Sized {
// Provided methods
fn count_ones(self) -> Self::WithScalar<u32> { ... }
fn __expand_count_ones(
scope: &mut Scope,
x: NativeExpand<Self>,
) -> NativeExpand<Self::WithScalar<u32>> { ... }
}Provided Methods§
fn count_ones(self) -> Self::WithScalar<u32>
fn __expand_count_ones( scope: &mut Scope, x: NativeExpand<Self>, ) -> NativeExpand<Self::WithScalar<u32>>
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.