[]Trait libipld::cid::multihash::typenum::marker_traits::Bit

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

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

The marker trait for compile time bits.

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

Associated Constants

pub const U8: u8

pub const BOOL: bool

Loading content...

Required methods

pub fn to_u8() -> u8

pub fn to_bool() -> bool

Loading content...

Implementors

impl Bit for B0

impl Bit for B1

Loading content...