Popcnt

Trait Popcnt 

Source
pub trait Popcnt {
    // Required method
    fn popcnt(&self) -> u32;
}
Expand description

Generic trait for pop-countable integers.

Required Methods§

Source

fn popcnt(&self) -> u32

Implementations on Foreign Types§

Source§

impl Popcnt for u8

Source§

fn popcnt(&self) -> u32

Source§

impl Popcnt for u16

Source§

fn popcnt(&self) -> u32

Source§

impl Popcnt for u32

Source§

fn popcnt(&self) -> u32

Source§

impl Popcnt for u64

Source§

fn popcnt(&self) -> u32

Implementors§