Struct variable_len_reader::util::bufs::OwnedWriteBuf128
source · pub struct OwnedWriteBuf128 { /* private fields */ }
Implementations§
source§impl OwnedWriteBuf128
impl OwnedWriteBuf128
pub fn new(buf: [u8; 16]) -> Self
pub fn into_inner(&self) -> [u8; 16]
pub fn buf_mut(&mut self) -> &mut [u8] ⓘ
pub fn set_buf(&mut self, buf: [u8; 16])
pub fn skip(&mut self, cnt: usize)
pub fn buf(&self) -> &[u8] ⓘ
pub fn read(&self) -> usize
pub fn left(&self) -> usize
pub fn reset(&mut self)
pub fn set_read(&mut self, read: usize)
pub fn get(&self) -> u8
pub fn take(&mut self) -> u8
pub fn get_slice(&self, len: usize) -> &[u8] ⓘ
pub fn take_slice(&mut self, len: usize) -> &[u8] ⓘ
Trait Implementations§
source§impl Debug for OwnedWriteBuf128
impl Debug for OwnedWriteBuf128
source§impl<'a> From<&'a OwnedWriteBuf128> for WriteBuf<'a>
impl<'a> From<&'a OwnedWriteBuf128> for WriteBuf<'a>
source§fn from(value: &'a OwnedWriteBuf128) -> Self
fn from(value: &'a OwnedWriteBuf128) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for OwnedWriteBuf128
impl Send for OwnedWriteBuf128
impl Sync for OwnedWriteBuf128
impl Unpin for OwnedWriteBuf128
impl UnwindSafe for OwnedWriteBuf128
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