Trait ds::WmInt

source ·
pub trait WmInt: Copy + Eq {
    // Required methods
    fn test(self, i: usize) -> bool;
    fn set(&mut self, i: usize);
    fn bitlen(self) -> usize;
    fn zero() -> Self;
}

Required Methods§

source

fn test(self, i: usize) -> bool

source

fn set(&mut self, i: usize)

source

fn bitlen(self) -> usize

source

fn zero() -> Self

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl WmInt for u8

source§

fn test(self, i: usize) -> bool

source§

fn set(&mut self, i: usize)

source§

fn bitlen(self) -> usize

source§

fn zero() -> u8

source§

impl WmInt for u16

source§

fn test(self, i: usize) -> bool

source§

fn set(&mut self, i: usize)

source§

fn bitlen(self) -> usize

source§

fn zero() -> u16

source§

impl WmInt for u32

source§

fn test(self, i: usize) -> bool

source§

fn set(&mut self, i: usize)

source§

fn bitlen(self) -> usize

source§

fn zero() -> u32

source§

impl WmInt for u64

source§

fn test(self, i: usize) -> bool

source§

fn set(&mut self, i: usize)

source§

fn bitlen(self) -> usize

source§

fn zero() -> u64

source§

impl WmInt for u128

source§

fn test(self, i: usize) -> bool

source§

fn set(&mut self, i: usize)

source§

fn bitlen(self) -> usize

source§

fn zero() -> u128

source§

impl WmInt for usize

source§

fn test(self, i: usize) -> bool

source§

fn set(&mut self, i: usize)

source§

fn bitlen(self) -> usize

source§

fn zero() -> usize

Implementors§