[−][src]Struct gluon_base::fixed::FixedVec
Methods
impl<T> FixedVec<T>
[src]
pub fn new() -> FixedVec<T>
[src]
pub fn clear(&mut self)
[src]
pub fn push(&self, value: T)
[src]
pub fn extend<I: IntoIterator<Item = T>>(&self, iter: I)
[src]
pub fn len(&self) -> usize
[src]
pub fn is_empty(&self) -> bool
[src]
impl<T> FixedVec<T> where
T: StableDeref,
[src]
T: StableDeref,
pub fn iter(
&self
) -> impl Iterator<Item = &T::Target>
[src]
&self
) -> impl Iterator<Item = &T::Target>
pub fn get(&self, index: usize) -> Option<&T::Target>
[src]
Trait Implementations
impl<T> Default for FixedVec<T>
[src]
impl<T> Index<usize> for FixedVec<T> where
T: StableDeref,
[src]
T: StableDeref,
type Output = T::Target
The returned type after indexing.
fn index(&self, index: usize) -> &T::Target
[src]
impl<T> IndexMut<usize> for FixedVec<T> where
T: StableDeref + DerefMut,
[src]
T: StableDeref + DerefMut,
impl<A> FromIterator<A> for FixedVec<A>
[src]
fn from_iter<T: IntoIterator<Item = A>>(iterator: T) -> FixedVec<A>
[src]
impl<T: Debug> Debug for FixedVec<T>
[src]
Auto Trait Implementations
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,