Struct bdk_chain::bitcoin::bip158::BitStreamReader
pub struct BitStreamReader<'a, R>where
R: ?Sized,{ /* private fields */ }
Expand description
Bitwise stream reader.
Implementations§
§impl<'a, R> BitStreamReader<'a, R>
impl<'a, R> BitStreamReader<'a, R>
pub fn new(reader: &'a mut R) -> BitStreamReader<'a, R>
pub fn new(reader: &'a mut R) -> BitStreamReader<'a, R>
Creates a new BitStreamReader
that reads bitwise from a given reader
.
Auto Trait Implementations§
impl<'a, R> Freeze for BitStreamReader<'a, R>where
R: ?Sized,
impl<'a, R> RefUnwindSafe for BitStreamReader<'a, R>where
R: RefUnwindSafe + ?Sized,
impl<'a, R> Send for BitStreamReader<'a, R>
impl<'a, R> Sync for BitStreamReader<'a, R>
impl<'a, R> Unpin for BitStreamReader<'a, R>where
R: ?Sized,
impl<'a, R> !UnwindSafe for BitStreamReader<'a, R>
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