pub enum Target<'a, T> {
One(&'a mut T),
Many(&'a mut [T]),
}Variants§
Auto Trait Implementations§
impl<'a, T> Freeze for Target<'a, T>
impl<'a, T> RefUnwindSafe for Target<'a, T>where
T: RefUnwindSafe,
impl<'a, T> Send for Target<'a, T>where
T: Send,
impl<'a, T> Sync for Target<'a, T>where
T: Sync,
impl<'a, T> Unpin for Target<'a, T>
impl<'a, T> UnsafeUnpin for Target<'a, T>
impl<'a, T> !UnwindSafe for Target<'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