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

pub trait SetBit<I, B> {
    type Output;
}
Expand description

A type operator that, when implemented for unsigned integer N, sets the bit at position I to B.

Associated Types

type Output

Implementors

impl<N, I, B> SetBit<I, B> for N where
    N: PrivateSetBit<I, B>,
    <N as PrivateSetBit<I, B>>::Output: Trim, 

type Output = <<N as PrivateSetBit<I, B>>::Output as Trim>::Output

pub fn set_bit<IM>(self, i: I, b: B) -> <N as SetBit<I, B>>::Output where
    IM: InternalMarker,