Implementations
impl<'a> IoVec<&'a [u8]>
pub fn from_slice(buf: &'a [u8]) -> IoVec<&'a [u8]>
Create an IoVec
from a Rust slice.
impl<'a> IoVec<&'a mut [u8]>
pub fn from_mut_slice(buf: &'a mut [u8]) -> IoVec<&'a mut [u8]>
Create an IoVec
from a mutable Rust slice.
Trait Implementations
impl<T: $crate::clone::Clone> Clone for IoVec<T>
impl<T: $crate::marker::Copy> Copy for IoVec<T>
impl<T: $crate::fmt::Debug> Debug for IoVec<T>
fn fmt(&Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result
impl<T: $crate::cmp::Eq> Eq for IoVec<T>
impl<T: $crate::hash::Hash> Hash for IoVec<T>
fn hash<__H: $crate::hash::Hasher>(&Self, state: &mut __H) -> ()
impl<T> StructuralEq for IoVec<T>
impl<T> StructuralPartialEq for IoVec<T>
Auto Trait Implementations
impl<T> RefUnwindSafe for IoVec<T>
where
T: RefUnwindSafe,
impl<T> UnwindSafe for IoVec<T>
where
T: UnwindSafe,
Blanket Implementations
impl<T> BorrowMut<T> for T
where
T: ?Sized,
where
T: ?Sized,
fn borrow_mut(&mut Self) -> &mut T