Function tlbits::pack_as

source ·
pub fn pack_as<T, As>(value: T) -> Result<BitVec<u8, Msb0>, StringError>
where As: BitPackAs<T> + ?Sized,