pub struct BinaryValue {
pub bit_len: usize,
pub data: Vec<u8>,
}Expand description
Binary literal payload packed most-significant nibble first.
Fields§
§bit_len: usizeNumber of significant payload bits.
data: Vec<u8>Packed bytes; unused low-order bits in the final byte are zero.
Trait Implementations§
Source§impl Clone for BinaryValue
impl Clone for BinaryValue
Source§fn clone(&self) -> BinaryValue
fn clone(&self) -> BinaryValue
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BinaryValue
impl Debug for BinaryValue
impl Eq for BinaryValue
Source§impl PartialEq for BinaryValue
impl PartialEq for BinaryValue
impl StructuralPartialEq for BinaryValue
Auto Trait Implementations§
impl Freeze for BinaryValue
impl RefUnwindSafe for BinaryValue
impl Send for BinaryValue
impl Sync for BinaryValue
impl Unpin for BinaryValue
impl UnsafeUnpin for BinaryValue
impl UnwindSafe for BinaryValue
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