[−][src]Trait simd_json::prelude::Array
Prelude to include needed traits Functions guaranteed for any array object
Associated Types
Loading content...Required methods
#[must_use]
fn get(&self, i: usize) -> Option<&Self::Element>
Gets a ref to a value based on n index, returns None
if the
current Value isn't an Array or doesn't contain the index
it was asked for.
#[must_use]
fn get_mut(&mut self, i: usize) -> Option<&mut Self::Element>
Gets a ref to a value based on n index, returns None
if the
current Value isn't an Array or doesn't contain the index
it was asked for.
#[must_use]
fn pop(&mut self) -> Option<Self::Element>
Returns the last element of the array or None
fn push(&mut self, e: Self::Element)
Appends e to the end of the Array
Implementations on Foreign Types
impl<T> Array for Vec<T> where
T: Value,
[src]
T: Value,