Struct fixed_queue::Vec
source · [−]pub struct Vec<T, const N: usize> { /* private fields */ }
Implementations
sourceimpl<T, const N: usize> Vec<T, N>
impl<T, const N: usize> Vec<T, N>
pub const fn new() -> Self
pub fn capacity(&self) -> usize
pub fn as_ptr(&self) -> *const T
pub fn as_mut_ptr(&mut self) -> *mut T
pub fn as_slice(&self) -> &[T]
pub fn as_mut_slice(&mut self) -> &mut [T]
pub fn clear(&mut self)
pub fn truncate(&mut self, len: usize)
pub unsafe fn set_len(&mut self, new_len: usize)
pub fn pop(&mut self) -> Option<T>
pub fn push(&mut self, value: T) -> Result<(), T>
pub fn swap_remove(&mut self, index: usize) -> T
Trait Implementations
sourceimpl<T, const N: usize> BorrowMut<[T]> for Vec<T, N>
impl<T, const N: usize> BorrowMut<[T]> for Vec<T, N>
sourcefn borrow_mut(&mut self) -> &mut [T]
fn borrow_mut(&mut self) -> &mut [T]
Mutably borrows from an owned value. Read more
Auto Trait Implementations
impl<T, const N: usize> RefUnwindSafe for Vec<T, N> where
T: RefUnwindSafe,
impl<T, const N: usize> Send for Vec<T, N> where
T: Send,
impl<T, const N: usize> Sync for Vec<T, N> where
T: Sync,
impl<T, const N: usize> Unpin for Vec<T, N> where
T: Unpin,
impl<T, const N: usize> UnwindSafe for Vec<T, N> 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