pub struct Buf<T, U> { /* private fields */ }
Implementations§
Source§impl<T, U> Buf<T, U>
impl<T, U> Buf<T, U>
pub fn remaining_mut(&mut self) -> &mut [U]
pub fn extend_from_slice(&mut self, s: &[U]) -> Result<(), NotEnoughSpace>where
U: Copy,
pub fn clear(&mut self)
pub fn pop_front_alloc(&mut self, amt: usize)
pub fn pop_front(&mut self, amt: usize)where
U: Copy,
Trait Implementations§
Auto Trait Implementations§
impl<T, U> Freeze for Buf<T, U>where
T: Freeze,
impl<T, U> RefUnwindSafe for Buf<T, U>where
T: RefUnwindSafe,
U: RefUnwindSafe,
impl<T, U> Send for Buf<T, U>
impl<T, U> Sync for Buf<T, U>
impl<T, U> Unpin for Buf<T, U>
impl<T, U> UnwindSafe for Buf<T, U>where
T: UnwindSafe,
U: UnwindSafe,
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