pub struct BufMut<'a> { /* private fields */ }
Expand description
Wrapper over mutable slice of bytes.
Can be converted into from any mutable byte slice or mutable Vec
Trait Implementations§
Source§impl<'a> From<&'a mut [MaybeUninit<u8>]> for BufMut<'a>
impl<'a> From<&'a mut [MaybeUninit<u8>]> for BufMut<'a>
Source§fn from(value: &'a mut [MaybeUninit<u8>]) -> Self
fn from(value: &'a mut [MaybeUninit<u8>]) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<'a> Freeze for BufMut<'a>
impl<'a> RefUnwindSafe for BufMut<'a>
impl<'a> !Send for BufMut<'a>
impl<'a> !Sync for BufMut<'a>
impl<'a> Unpin for BufMut<'a>
impl<'a> UnwindSafe for BufMut<'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