pub(crate) struct Buf<'a> {
bytes: &'a mut [u8],
offset: usize,
}
Fields§
§bytes: &'a mut [u8]
§offset: usize
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Buf<'a>
impl<'a> RefUnwindSafe for Buf<'a>
impl<'a> Send for Buf<'a>
impl<'a> Sync for Buf<'a>
impl<'a> Unpin for Buf<'a>
impl<'a> !UnwindSafe for Buf<'a>
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