Trait checked_rs::UInteger

source ·
pub trait UInteger: 'static + UIntegerLimits + Copy + Default + Eq + Ord + Add + Sub + Mul + Div + Rem + BitAnd + BitOr + BitXor + Shl + Shr {
    // Required methods
    fn from_u128(value: u128) -> Self;
    fn into_u128(self) -> u128;
}

Required Methods§

source

fn from_u128(value: u128) -> Self

source

fn into_u128(self) -> u128

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl UInteger for u8

source§

fn from_u128(value: u128) -> Self

source§

fn into_u128(self) -> u128

source§

impl UInteger for u16

source§

fn from_u128(value: u128) -> Self

source§

fn into_u128(self) -> u128

source§

impl UInteger for u32

source§

fn from_u128(value: u128) -> Self

source§

fn into_u128(self) -> u128

source§

impl UInteger for u64

source§

fn from_u128(value: u128) -> Self

source§

fn into_u128(self) -> u128

source§

impl UInteger for u128

source§

fn from_u128(value: u128) -> Self

source§

fn into_u128(self) -> u128

Implementors§