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