Skip to main content

BitsIn

Trait BitsIn 

Source
pub trait BitsIn {
    type Output;
}
Expand description

Traits for determing how many bits a primitive contains

Required Associated Types§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl BitsIn for u8

Source§

impl BitsIn for u16

Source§

impl BitsIn for u32

Source§

impl BitsIn for u64

Source§

impl BitsIn for usize

Implementors§