Struct cbor4ii::core::utils::SliceReader
source · pub struct SliceReader<'a> { /* private fields */ }
Expand description
An in-memory reader.
Implementations§
source§impl SliceReader<'_>
impl SliceReader<'_>
pub fn new(buf: &[u8]) -> SliceReader<'_>
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for SliceReader<'a>
impl<'a> RefUnwindSafe for SliceReader<'a>
impl<'a> Send for SliceReader<'a>
impl<'a> Sync for SliceReader<'a>
impl<'a> Unpin for SliceReader<'a>
impl<'a> UnwindSafe for SliceReader<'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