pub struct VectorParts<'a, Item> {
pub filled: &'a [Item],
pub unfilled_init: &'a [Item],
pub unfilled_uninit: &'a [MaybeUninit<Item>],
}
Fields§
§filled: &'a [Item]
§unfilled_init: &'a [Item]
§unfilled_uninit: &'a [MaybeUninit<Item>]
Trait Implementations§
Source§impl<'a, Item: Clone> Clone for VectorParts<'a, Item>
impl<'a, Item: Clone> Clone for VectorParts<'a, Item>
Source§fn clone(&self) -> VectorParts<'a, Item>
fn clone(&self) -> VectorParts<'a, Item>
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, Item: Debug> Debug for VectorParts<'a, Item>
impl<'a, Item: Debug> Debug for VectorParts<'a, Item>
Source§impl<'a, Item: Default> Default for VectorParts<'a, Item>
impl<'a, Item: Default> Default for VectorParts<'a, Item>
Source§fn default() -> VectorParts<'a, Item>
fn default() -> VectorParts<'a, Item>
Returns the “default value” for a type. Read more
impl<'a, Item: Copy> Copy for VectorParts<'a, Item>
Auto Trait Implementations§
impl<'a, Item> Freeze for VectorParts<'a, Item>
impl<'a, Item> RefUnwindSafe for VectorParts<'a, Item>where
Item: RefUnwindSafe,
impl<'a, Item> Send for VectorParts<'a, Item>where
Item: Sync,
impl<'a, Item> Sync for VectorParts<'a, Item>where
Item: Sync,
impl<'a, Item> Unpin for VectorParts<'a, Item>
impl<'a, Item> UnwindSafe for VectorParts<'a, Item>where
Item: 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