pub enum ReallocOk<'a, T> {
ShrunkenOrEqual(&'a mut [T]),
Grown(&'a mut [MaybeUninit<T>]),
}Expand description
The result of a successful resize_realloc call.
Variants§
ShrunkenOrEqual(&'a mut [T])
Grown(&'a mut [MaybeUninit<T>])
Auto Trait Implementations§
impl<'a, T> Freeze for ReallocOk<'a, T>
impl<'a, T> RefUnwindSafe for ReallocOk<'a, T>where
T: RefUnwindSafe,
impl<'a, T> Send for ReallocOk<'a, T>where
T: Send,
impl<'a, T> Sync for ReallocOk<'a, T>where
T: Sync,
impl<'a, T> Unpin for ReallocOk<'a, T>
impl<'a, T> !UnwindSafe for ReallocOk<'a, T>
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