Struct variable_len_reader::util::bufs::OwnedReadBuf64
source · pub struct OwnedReadBuf64 { /* private fields */ }
Implementations§
source§impl OwnedReadBuf64
impl OwnedReadBuf64
pub fn new() -> Self
pub fn into_inner(&self) -> [u8; 8]
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 OwnedReadBuf64
impl Debug for OwnedReadBuf64
source§impl<'a> From<&'a mut OwnedReadBuf64> for ReadBuf<'a>
impl<'a> From<&'a mut OwnedReadBuf64> for ReadBuf<'a>
source§fn from(value: &'a mut OwnedReadBuf64) -> Self
fn from(value: &'a mut OwnedReadBuf64) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for OwnedReadBuf64
impl Send for OwnedReadBuf64
impl Sync for OwnedReadBuf64
impl Unpin for OwnedReadBuf64
impl UnwindSafe for OwnedReadBuf64
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