[][src]Struct amadeus_types::List

pub struct List<T: Data> { /* fields omitted */ }

Implementations

impl<T: Data> List<T>[src]

pub fn new() -> Self[src]

pub fn new_with(type_: T::DynamicType) -> Self[src]

pub fn from_(vec: T::Vec) -> Self[src]

pub fn push(&mut self, t: T)[src]

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

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

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

pub fn map<F, U: Data>(self, f: F) -> List<U> where
    F: FnMut(T) -> U, 
[src]

pub fn try_map<F, U: Data, E>(self, f: F) -> Result<List<U>, E> where
    F: FnMut(T) -> Result<U, E>, 
[src]

Trait Implementations

impl<T: Data> AmadeusOrd for List<T> where
    T: AmadeusOrd
[src]

impl<T: Data> Clone for List<T> where
    T: Clone
[src]

impl<T> Data for List<T> where
    T: Data
[src]

type Vec = Vec<Self>

type DynamicType = ()

impl<T: Data> Debug for List<T> where
    T: Debug
[src]

impl<T: Data> Default for List<T>[src]

impl Deref for List<u8>[src]

type Target = [u8]

The resulting type after dereferencing.

impl DerefMut for List<u8>[src]

impl<'de, T: Data> Deserialize<'de> for List<T> where
    T: Deserialize<'de>, 
[src]

impl<T: Data> DowncastFrom<Value> for List<T> where
    T: DowncastFrom<Value>, 
[src]

impl<T: Data> Eq for List<T> where
    T: Eq
[src]

impl<T: Data> Extend<T> for List<T>[src]

impl Extend<u8> for List<Value>[src]

impl<T: Data> From<Box<[T]>> for List<T>[src]

impl<T: Data> From<List<T>> for Vec<T>[src]

impl<T: Data> From<List<T>> for Value where
    T: Into<Self>, 
[src]

impl<T: Data> From<Vec<T>> for List<T>[src]

impl From<Vec<u8>> for List<Value>[src]

impl<T: Data> FromDistributedStream<T> for List<T> where
    T: ProcessSend + 'static, 
[src]

type ReduceA = PushReducer<T, Self>

type ReduceB = ExtendReducer<Self>

type ReduceC = ExtendReducer<Self>

impl<T: Data> FromIterator<T> for List<T>[src]

impl FromIterator<u8> for List<Value>[src]

impl<T: Data> FromParallelStream<T> for List<T> where
    T: Send + 'static, 
[src]

type ReduceA = PushReducer<T, Self>

type ReduceC = ExtendReducer<Self>

impl<T: Data> Hash for List<T> where
    T: Hash
[src]

impl<T: Data> IntoIterator for List<T>[src]

type Item = T

The type of the elements being iterated over.

type IntoIter = <<T as Data>::Vec as ListVec<T>>::IntoIter

Which kind of iterator are we turning this into?

impl<T: Data> Ord for List<T> where
    T: Ord
[src]

impl<T: Data> PartialEq<List<T>> for Value where
    Value: PartialEq<T>, 
[src]

impl<T: Data, U: Data> PartialEq<List<U>> for List<T> where
    T: PartialEq<U>, 
[src]

impl<T: Data, U: Data> PartialOrd<List<U>> for List<T> where
    T: PartialOrd<U>, 
[src]

impl<T: Data> RefUnwindSafe for List<T> where
    T: RefUnwindSafe
[src]

impl<T: Data> Send for List<T> where
    T: Send
[src]

impl<T: Data> Serialize for List<T> where
    T: Serialize
[src]

impl<T: Data> Sync for List<T> where
    T: Sync
[src]

impl<T: Data> Unpin for List<T> where
    T: Unpin
[src]

impl<T: Data> UnwindSafe for List<T> where
    T: UnwindSafe
[src]

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<A, B> Downcast<A> for B where
    A: DowncastFrom<B>, 
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?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> ProcessSend for T where
    T: Send + Serialize + for<'de> Deserialize<'de> + ?Sized
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,