Struct everscale_types::util::Bitstring
source · pub struct Bitstring<'a> {
pub bytes: &'a [u8],
pub bit_len: u16,
}Expand description
A wrapper around arbitrary data with the specified bit length.
Fields§
§bytes: &'a [u8]Underlying bytes (with or without termination bit).
bit_len: u16Length of data in bits.
Trait Implementations§
Auto Trait Implementations§
impl<'a> RefUnwindSafe for Bitstring<'a>
impl<'a> Send for Bitstring<'a>
impl<'a> Sync for Bitstring<'a>
impl<'a> Unpin for Bitstring<'a>
impl<'a> UnwindSafe for Bitstring<'a>
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