[][src]Struct basebits::BaseBits

pub struct BaseBits {
    pub code: u64,
    // some fields omitted
}

A BaseBits encoding

Fields

code: u64

The u64 holding the encoding

Methods

impl BaseBits[src]

pub fn new(seq: &[u8]) -> Result<BaseBits, &'static str>[src]

Create a new BaseBits object.

pub fn decode(&self) -> Vec<u8>[src]

Decode a BaseBits object into a string

Trait Implementations

impl Clone for BaseBits[src]

impl Copy for BaseBits[src]

impl Eq for BaseBits[src]

impl PartialEq<BaseBits> for BaseBits[src]

impl Display for BaseBits[src]

impl Debug for BaseBits[src]

impl Hash for BaseBits[src]

impl StructuralPartialEq for BaseBits[src]

impl StructuralEq for BaseBits[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]