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