[][src]Trait verified::Bit

pub trait Bit: Default + Copy {
    const U8: u8;
    const BOOL: bool;

    fn to_u8() -> u8;
fn to_bool() -> bool; }

The marker trait for compile time bits.

This trait should not be implemented for anything outside this crate.

Associated Constants

const U8: u8

const BOOL: bool

Loading content...

Required methods

fn to_u8() -> u8

fn to_bool() -> bool

Loading content...

Implementors

impl Bit for B0[src]

impl Bit for B1[src]

Loading content...