Struct bitcoin::bip158::BitStreamReader
source · pub struct BitStreamReader<'a, R: ?Sized> { /* private fields */ }
Expand description
Bitwise stream reader.
Implementations§
source§impl<'a, R: Read + ?Sized> BitStreamReader<'a, R>
impl<'a, R: Read + ?Sized> BitStreamReader<'a, R>
sourcepub 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: ?Sized> RefUnwindSafe for BitStreamReader<'a, R>where R: RefUnwindSafe,
impl<'a, R: ?Sized> Send for BitStreamReader<'a, R>where R: Send,
impl<'a, R: ?Sized> Sync for BitStreamReader<'a, R>where R: Sync,
impl<'a, R: ?Sized> Unpin for BitStreamReader<'a, R>
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