Struct gluon_base::fixed::FixedVec [−][src]
pub struct FixedVec<T> { /* fields omitted */ }
Methods
impl<T> FixedVec<T>
[src]
impl<T> FixedVec<T>
pub fn new() -> FixedVec<T>
[src]
pub fn new() -> FixedVec<T>
pub fn clear(&mut self)
[src]
pub fn clear(&mut self)
pub fn push(&self, value: T)
[src]
pub fn push(&self, value: T)
pub fn extend<I: Iterator<Item = T>>(&self, iter: I)
[src]
pub fn extend<I: Iterator<Item = T>>(&self, iter: I)
pub fn borrow(&self) -> Ref<Vec<Box<T>>>
[src]
pub fn borrow(&self) -> Ref<Vec<Box<T>>>
pub fn find<F>(&self, test: F) -> Option<(usize, &T)> where
F: FnMut(&T) -> bool,
[src]
pub fn find<F>(&self, test: F) -> Option<(usize, &T)> where
F: FnMut(&T) -> bool,
pub fn get(&self, index: usize) -> Option<&T>
[src]
pub fn get(&self, index: usize) -> Option<&T>
pub fn len(&self) -> usize
[src]
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
[src]
pub fn is_empty(&self) -> bool
Trait Implementations
impl<T: Debug> Debug for FixedVec<T>
[src]
impl<T: Debug> Debug for FixedVec<T>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<T> Index<usize> for FixedVec<T>
[src]
impl<T> Index<usize> for FixedVec<T>
type Output = T
The returned type after indexing.
ⓘImportant traits for &'a mut Rfn index(&self, index: usize) -> &T
[src]
ⓘImportant traits for &'a mut R
fn index(&self, index: usize) -> &T
Performs the indexing (container[index]
) operation.
impl<T> IndexMut<usize> for FixedVec<T>
[src]
impl<T> IndexMut<usize> for FixedVec<T>
ⓘImportant traits for &'a mut Rfn index_mut(&mut self, index: usize) -> &mut T
[src]
ⓘImportant traits for &'a mut R
fn index_mut(&mut self, index: usize) -> &mut T
Performs the mutable indexing (container[index]
) operation.
impl<A> FromIterator<A> for FixedVec<A>
[src]
impl<A> FromIterator<A> for FixedVec<A>
fn from_iter<T: IntoIterator<Item = A>>(iterator: T) -> FixedVec<A>
[src]
fn from_iter<T: IntoIterator<Item = A>>(iterator: T) -> FixedVec<A>
Creates a value from an iterator. Read more