pub struct Vector<'buf, T: ?Sized> { /* private fields */ }
Implementations
sourceimpl<'buf, T: VectorRead<'buf>> Vector<'buf, T>
impl<'buf, T: VectorRead<'buf>> Vector<'buf, T>
pub fn get(self, index: usize) -> Option<T>
pub fn iter(self) -> VectorIter<'buf, T>ⓘNotable traits for VectorIter<'buf, T>impl<'buf, T: VectorRead<'buf>> Iterator for VectorIter<'buf, T> type Item = T;
sourceimpl<'buf, T: VectorRead<'buf>> Vector<'buf, T>
impl<'buf, T: VectorRead<'buf>> Vector<'buf, T>
Trait Implementations
sourceimpl<'buf, T: VectorRead<'buf>> IntoIterator for Vector<'buf, T>
impl<'buf, T: VectorRead<'buf>> IntoIterator for Vector<'buf, T>
sourceimpl<'buf, T: VectorRead<'buf>, O> TryFrom<Vector<'buf, T>> for Vec<O> where
O: TryFrom<T>,
Error: From<O::Error>,
impl<'buf, T: VectorRead<'buf>, O> TryFrom<Vector<'buf, T>> for Vec<O> where
O: TryFrom<T>,
Error: From<O::Error>,
impl<'buf, T: ?Sized> Copy for Vector<'buf, T>
Auto Trait Implementations
impl<'buf, T: ?Sized> RefUnwindSafe for Vector<'buf, T> where
T: RefUnwindSafe,
impl<'buf, T: ?Sized> Send for Vector<'buf, T> where
T: Sync,
impl<'buf, T: ?Sized> Sync for Vector<'buf, T> where
T: Sync,
impl<'buf, T: ?Sized> Unpin for Vector<'buf, T>
impl<'buf, T: ?Sized> UnwindSafe for Vector<'buf, T> where
T: RefUnwindSafe,
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more