Struct variable_len_reader::util::bufs::OwnedReadBuf128
source · pub struct OwnedReadBuf128 { /* private fields */ }
Implementations§
source§impl OwnedReadBuf128
impl OwnedReadBuf128
pub fn new() -> Self
pub fn into_inner(&self) -> [u8; 16]
pub fn advance(&mut self, cnt: usize)
pub fn buf(&self) -> &[u8] ⓘ
pub fn buf_mut(&mut self) -> &mut [u8] ⓘ
pub fn filled(&self) -> usize
pub fn left(&self) -> usize
pub fn clear(&mut self)
pub fn set_filled(&mut self, filled: usize)
pub fn set(&mut self, val: u8)
pub fn put(&mut self, val: u8)
pub fn set_slice(&mut self, slice: &[u8])
pub fn put_slice(&mut self, slice: &[u8])
Trait Implementations§
source§impl Debug for OwnedReadBuf128
impl Debug for OwnedReadBuf128
source§impl<'a> From<&'a mut OwnedReadBuf128> for ReadBuf<'a>
impl<'a> From<&'a mut OwnedReadBuf128> for ReadBuf<'a>
source§fn from(value: &'a mut OwnedReadBuf128) -> Self
fn from(value: &'a mut OwnedReadBuf128) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for OwnedReadBuf128
impl Send for OwnedReadBuf128
impl Sync for OwnedReadBuf128
impl Unpin for OwnedReadBuf128
impl UnwindSafe for OwnedReadBuf128
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