[][src]Struct smpli::Array

pub struct Array { /* fields omitted */ }

Methods

impl Array[src]

pub fn new() -> Array[src]

pub fn new_init<T: IntoIterator<Item = Value>>(iter: T) -> Array[src]

pub fn with_capacity(capacity: usize) -> Array[src]

pub fn capacity(&self) -> usize[src]

pub fn reserve(&mut self, additional: usize)[src]

pub fn reserve_exact(&mut self, additional: usize)[src]

pub fn shrink_to_fit(&mut self)[src]

pub fn into_boxed_slice(self) -> Box<[ReferableValue]>[src]

pub fn truncate(&mut self, len: usize)[src]

pub fn as_slice(&self) -> &[ReferableValue][src]

pub fn as_mut_slice(&mut self) -> &mut [ReferableValue][src]

pub fn insert(&mut self, index: usize, value: Value)[src]

pub fn remove(&mut self, index: usize) -> ReferableValue[src]

pub fn push(&mut self, value: Value)[src]

pub fn pop(&mut self) -> Option<ReferableValue>[src]

pub fn append(&mut self, other: &mut Array)[src]

pub fn clear(&mut self)[src]

pub fn len(&self) -> usize[src]

pub fn is_empty(&self) -> bool[src]

Trait Implementations

impl Debug for Array[src]

impl Deref for Array[src]

type Target = [ReferableValue]

The resulting type after dereferencing.

impl FromIterator<ReferableValue> for Array[src]

impl FromIterator<Value> for Array[src]

impl IntoIterator for Array[src]

type Item = ReferableValue

The type of the elements being iterated over.

type IntoIter = IntoIter<Self::Item>

Which kind of iterator are we turning this into?

impl<'a> IntoIterator for &'a Array[src]

type Item = &'a ReferableValue

The type of the elements being iterated over.

type IntoIter = Iter<'a, ReferableValue>

Which kind of iterator are we turning this into?

impl<'a> IntoIterator for &'a mut Array[src]

type Item = &'a mut ReferableValue

The type of the elements being iterated over.

type IntoIter = IterMut<'a, ReferableValue>

Which kind of iterator are we turning this into?

impl PartialEq<Array> for Array[src]

impl StructuralPartialEq for Array[src]

Auto Trait Implementations

impl !RefUnwindSafe for Array

impl !Send for Array

impl !Sync for Array

impl Unpin for Array

impl !UnwindSafe for Array

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<I> IntoIterator for I where
    I: Iterator
[src]

type Item = <I as Iterator>::Item

The type of the elements being iterated over.

type IntoIter = I

Which kind of iterator are we turning this into?

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.