pub struct ReusableIoSlices { /* private fields */ }
Implementations§
Source§impl ReusableIoSlices
impl ReusableIoSlices
Sourcepub fn new(cap: NonZeroUsize) -> Self
pub fn new(cap: NonZeroUsize) -> Self
Create new ReusableIoSlices
.
Sourcepub fn get_mut(&mut self) -> &mut [MaybeUninit<IoSlice<'_>>]
pub fn get_mut(&mut self) -> &mut [MaybeUninit<IoSlice<'_>>]
Return the underlying io_slices
Sourcepub fn get(&self) -> &[MaybeUninit<IoSlice<'_>>]
pub fn get(&self) -> &[MaybeUninit<IoSlice<'_>>]
Return the underlying io_slices
Trait Implementations§
Source§impl Debug for ReusableIoSlices
impl Debug for ReusableIoSlices
Source§impl Drop for ReusableIoSlices
impl Drop for ReusableIoSlices
impl Send for ReusableIoSlices
impl Sync for ReusableIoSlices
Auto Trait Implementations§
impl Freeze for ReusableIoSlices
impl RefUnwindSafe for ReusableIoSlices
impl Unpin for ReusableIoSlices
impl UnwindSafe for ReusableIoSlices
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