[][src]Trait bee_ternary::trit::ShiftTernary

pub trait ShiftTernary: Sized {
    type Target: ShiftTernary<Target = Self>;
    fn shift(self) -> Self::Target;
}

A trait implemented by trits that can be shifted between balance domains.

Associated Types

type Target: ShiftTernary<Target = Self>

The trit type that results from shifting this trit.

Loading content...

Required methods

fn shift(self) -> Self::Target

Shift this trit into the opposite balance domain.

Loading content...

Implementors

impl ShiftTernary for Btrit[src]

type Target = Utrit

impl ShiftTernary for Utrit[src]

type Target = Btrit

Loading content...