pub trait AsBytesMutRef: AsBytesRef {
// Required method
fn as_bytes_mut_ref(&mut self) -> &mut [u8] ⓘ;
}
Expand description
Converts to &'a mut [u8]
Required Methods§
Sourcefn as_bytes_mut_ref(&mut self) -> &mut [u8] ⓘ
fn as_bytes_mut_ref(&mut self) -> &mut [u8] ⓘ
Converts to a u8 slice
Implementations on Foreign Types§
Source§impl AsBytesMutRef for Box<[u8]>
Available on crate feature alloc
only.
impl AsBytesMutRef for Box<[u8]>
Available on crate feature
alloc
only.fn as_bytes_mut_ref(&mut self) -> &mut [u8] ⓘ
Source§impl AsBytesMutRef for Vec<u8>
Available on crate feature alloc
only.
impl AsBytesMutRef for Vec<u8>
Available on crate feature
alloc
only.fn as_bytes_mut_ref(&mut self) -> &mut [u8] ⓘ
Source§impl AsBytesMutRef for BytesMut
Available on crate feature bytes
only.
impl AsBytesMutRef for BytesMut
Available on crate feature
bytes
only.fn as_bytes_mut_ref(&mut self) -> &mut [u8] ⓘ
Source§impl<'a> AsBytesMutRef for &'a mut Box<[u8]>
Available on crate feature alloc
only.
impl<'a> AsBytesMutRef for &'a mut Box<[u8]>
Available on crate feature
alloc
only.fn as_bytes_mut_ref(&mut self) -> &mut [u8] ⓘ
Source§impl<'a> AsBytesMutRef for &'a mut Vec<u8>
Available on crate feature alloc
only.
impl<'a> AsBytesMutRef for &'a mut Vec<u8>
Available on crate feature
alloc
only.fn as_bytes_mut_ref(&mut self) -> &mut [u8] ⓘ
Source§impl<'a> AsBytesMutRef for &'a mut BytesMut
Available on crate feature bytes
only.
impl<'a> AsBytesMutRef for &'a mut BytesMut
Available on crate feature
bytes
only.