Skip to main content

BitsSource

Trait BitsSource 

Source
pub trait BitsSource: Copy {
    // Required method
    fn into_u128(self) -> u128;
}

Required Methods§

Source

fn into_u128(self) -> u128

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementations on Foreign Types§

Source§

impl BitsSource for u8

Source§

fn into_u128(self) -> u128

Source§

impl BitsSource for u16

Source§

fn into_u128(self) -> u128

Source§

impl BitsSource for u32

Source§

fn into_u128(self) -> u128

Source§

impl BitsSource for u64

Source§

fn into_u128(self) -> u128

Source§

impl BitsSource for u128

Source§

fn into_u128(self) -> u128

Source§

impl BitsSource for usize

Source§

fn into_u128(self) -> u128

Implementors§