pub struct Dn {
pub bit_count: u16,
pub bit_data: Vec<u8>,
}Expand description
Variable length bit array, first two bytes = unsigned count of bits to follow (maximum of 65,535 bits)
bit_count is the declared number of bits, and bit_data stores the
packed bytes (length should be ceil(bit_count / 8)).
Fields§
§bit_count: u16§bit_data: Vec<u8>Trait Implementations§
impl Eq for Dn
impl StructuralPartialEq for Dn
Auto Trait Implementations§
impl Freeze for Dn
impl RefUnwindSafe for Dn
impl Send for Dn
impl Sync for Dn
impl Unpin for Dn
impl UnsafeUnpin for Dn
impl UnwindSafe for Dn
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more