pub struct BufferParts<'a, I> {
pub filled_part: &'a [I],
pub unfilled_init_part: &'a [I],
pub unfilled_uninit_part: &'a [MaybeUninit<I>],
}
Fields§
§filled_part: &'a [I]
§unfilled_init_part: &'a [I]
§unfilled_uninit_part: &'a [MaybeUninit<I>]
Trait Implementations§
Source§impl<'a, I: Clone> Clone for BufferParts<'a, I>
impl<'a, I: Clone> Clone for BufferParts<'a, I>
Source§fn clone(&self) -> BufferParts<'a, I>
fn clone(&self) -> BufferParts<'a, I>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'a, I: Debug> Debug for BufferParts<'a, I>
impl<'a, I: Debug> Debug for BufferParts<'a, I>
impl<'a, I: Copy> Copy for BufferParts<'a, I>
Auto Trait Implementations§
impl<'a, I> Freeze for BufferParts<'a, I>
impl<'a, I> RefUnwindSafe for BufferParts<'a, I>where
I: RefUnwindSafe,
impl<'a, I> Send for BufferParts<'a, I>where
I: Sync,
impl<'a, I> Sync for BufferParts<'a, I>where
I: Sync,
impl<'a, I> Unpin for BufferParts<'a, I>
impl<'a, I> UnwindSafe for BufferParts<'a, I>where
I: RefUnwindSafe,
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