[−][src]Struct nson::value::Array
Methods
impl Array
[src]
pub fn new() -> Array
[src]
pub fn with_capacity(capacity: usize) -> Array
[src]
pub fn from_vec(vec: Vec<Value>) -> Array
[src]
pub fn len(&self) -> usize
[src]
pub fn is_empty(&self) -> bool
[src]
pub fn push(&mut self, value: impl Into<Value>)
[src]
pub fn push_value(&mut self, value: Value)
[src]
pub fn inner(&self) -> &Vec<Value>
[src]
pub fn as_mut_inner(&mut self) -> &mut Vec<Value>
[src]
pub fn into_inner(self) -> Vec<Value>
[src]
pub fn iter(&self) -> Iter<Value>
[src]
pub fn iter_mut(&mut self) -> IterMut<Value>
[src]
Trait Implementations
impl Clone for Array
[src]
impl Debug for Array
[src]
impl Default for Array
[src]
impl Deref for Array
[src]
impl DerefMut for Array
[src]
impl From<Array> for Value
[src]
impl<'_> From<Vec<&'_ String>> for Array
[src]
impl<'_> From<Vec<&'_ str>> for Array
[src]
impl From<Vec<Array>> for Array
[src]
impl From<Vec<DateTime<Utc>>> for Array
[src]
impl From<Vec<Message>> for Array
[src]
impl From<Vec<MessageId>> for Array
[src]
impl From<Vec<String>> for Array
[src]
impl From<Vec<Vec<Vec<u8>>>> for Array
[src]
impl From<Vec<Vec<u8>>> for Array
[src]
impl From<Vec<bool>> for Array
[src]
impl From<Vec<f32>> for Array
[src]
impl From<Vec<f64>> for Array
[src]
impl From<Vec<i32>> for Array
[src]
impl From<Vec<i64>> for Array
[src]
impl From<Vec<u32>> for Array
[src]
impl From<Vec<u64>> for Array
[src]
impl FromIterator<Value> for Array
[src]
fn from_iter<I: IntoIterator<Item = Value>>(iter: I) -> Self
[src]
impl IntoIterator for Array
[src]
type Item = Value
The type of the elements being iterated over.
type IntoIter = IntoIter<Value>
Which kind of iterator are we turning this into?
fn into_iter(self) -> Self::IntoIter
[src]
impl<'a> IntoIterator for &'a Array
[src]
type Item = &'a Value
The type of the elements being iterated over.
type IntoIter = Iter<'a, Value>
Which kind of iterator are we turning this into?
fn into_iter(self) -> Self::IntoIter
[src]
impl<'a> IntoIterator for &'a mut Array
[src]
type Item = &'a mut Value
The type of the elements being iterated over.
type IntoIter = IterMut<'a, Value>
Which kind of iterator are we turning this into?
fn into_iter(self) -> Self::IntoIter
[src]
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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<I> IntoIterator for I where
I: Iterator,
[src]
I: Iterator,
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?
fn into_iter(self) -> I
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
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, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,