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