Struct ra_ap_stdx::non_empty_vec::NonEmptyVec
source · [−]pub struct NonEmptyVec<T> { /* private fields */ }
Expand description
A Vec
that is guaranteed to at least contain one element.
Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for NonEmptyVec<T> where
T: RefUnwindSafe,
impl<T> Send for NonEmptyVec<T> where
T: Send,
impl<T> Sync for NonEmptyVec<T> where
T: Sync,
impl<T> Unpin for NonEmptyVec<T> where
T: Unpin,
impl<T> UnwindSafe for NonEmptyVec<T> where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more