Struct gluon_base::fixed::FixedVec
source · pub struct FixedVec<T> { /* private fields */ }
Implementations§
source§impl<T> FixedVec<T>
impl<T> FixedVec<T>
pub fn new() -> FixedVec<T>
pub fn clear(&mut self)
pub fn push(&self, value: T)
pub fn extend<I: IntoIterator<Item = T>>(&self, iter: I)
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
pub fn iter(&self) -> impl Iterator<Item = &T>
pub fn get(&self, index: usize) -> Option<&T>
pub fn truncate(&mut self, index: usize)
pub fn pop(&mut self) -> Option<T>
Trait Implementations§
Auto Trait Implementations§
impl<T> !RefUnwindSafe for FixedVec<T>
impl<T> Send for FixedVec<T>where
T: Send,
impl<T> !Sync for FixedVec<T>
impl<T> Unpin for FixedVec<T>where
T: Unpin,
impl<T> UnwindSafe for FixedVec<T>where
T: UnwindSafe,
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