Trait libipld::cid::multihash::typenum::uint::GetBit[]

pub trait GetBit<I> {
    type Output;
}

Associated Types

type Output

Implementors

impl<I> GetBit<I> for UTerm

type Output = B0

pub fn get_bit<IM>(&self, &I) -> <UTerm as GetBit<I>>::Output where
    IM: InternalMarker, 

impl<Un, Bn> GetBit<UTerm> for UInt<Un, Bn> where
    Bn: Copy

type Output = Bn

pub fn get_bit<IM>(&self, &UTerm) -> <UInt<Un, Bn> as GetBit<UTerm>>::Output where
    IM: InternalMarker, 

impl<Un, Bn, Ui, Bi> GetBit<UInt<Ui, Bi>> for UInt<Un, Bn> where
    Un: GetBit<<UInt<Ui, Bi> as Sub<B1>>::Output>,
    UInt<Ui, Bi>: Copy,
    UInt<Ui, Bi>: Sub<B1>, 

type Output = <Un as GetBit<<UInt<Ui, Bi> as Sub<B1>>::Output>>::Output

pub fn get_bit<IM>(
    &self,
    i: &UInt<Ui, Bi>
) -> <UInt<Un, Bn> as GetBit<UInt<Ui, Bi>>>::Output where
    IM: InternalMarker,