Trait eva_sdk::bitman::BitMan

source ·
pub trait BitMan {
    // Required methods
    fn get_bit(self, bit: u32) -> bool;
    fn with_bit(self, bit: u32, value: bool) -> Self;
}

Required Methods§

source

fn get_bit(self, bit: u32) -> bool

source

fn with_bit(self, bit: u32, value: bool) -> Self

Implementations on Foreign Types§

source§

impl BitMan for u16

source§

fn get_bit(self, bit: u32) -> bool

source§

fn with_bit(self, bit: u32, value: bool) -> Self

source§

impl BitMan for u8

source§

fn get_bit(self, bit: u32) -> bool

source§

fn with_bit(self, bit: u32, value: bool) -> Self

source§

impl BitMan for u128

source§

fn get_bit(self, bit: u32) -> bool

source§

fn with_bit(self, bit: u32, value: bool) -> Self

source§

impl BitMan for u32

source§

fn get_bit(self, bit: u32) -> bool

source§

fn with_bit(self, bit: u32, value: bool) -> Self

source§

impl BitMan for u64

source§

fn get_bit(self, bit: u32) -> bool

source§

fn with_bit(self, bit: u32, value: bool) -> Self

Implementors§