[−][src]Struct amadeus_types::List
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]
Trait Implementations
impl<T: Data> AmadeusOrd for List<T> where
T: AmadeusOrd,
[src]
T: AmadeusOrd,
fn amadeus_cmp(&self, other: &Self) -> Ordering
[src]
impl<T: Data> Clone for List<T> where
T: Clone,
[src]
T: Clone,
fn clone(&self) -> Self
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<T> Data for List<T> where
T: Data,
[src]
T: Data,
impl<T: Data> Debug for List<T> where
T: Debug,
[src]
T: Debug,
impl<T: Data> Default for List<T>
[src]
impl Deref for List<u8>
[src]
impl DerefMut for List<u8>
[src]
impl<'de, T: Data> Deserialize<'de> for List<T> where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
impl<T: Data> DowncastFrom<Value> for List<T> where
T: DowncastFrom<Value>,
[src]
T: DowncastFrom<Value>,
default fn downcast_from(self_: Value) -> Result<Self, DowncastError>
[src]
impl<T: Data> Eq for List<T> where
T: Eq,
[src]
T: Eq,
impl<T: Data> Extend<T> for List<T>
[src]
fn extend<I: IntoIterator<Item = T>>(&mut self, iter: I)
[src]
fn extend_one(&mut self, item: A)
[src]
fn extend_reserve(&mut self, additional: usize)
[src]
impl Extend<u8> for List<Value>
[src]
fn extend<I: IntoIterator<Item = u8>>(&mut self, _iter: I)
[src]
fn extend_one(&mut self, item: A)
[src]
fn extend_reserve(&mut self, additional: usize)
[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]
T: Into<Self>,
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]
T: ProcessSend + 'static,
type ReduceAFactory = DefaultReducerFactory<Self::ReduceA>
type ReduceBFactory = DefaultReducerFactory<Self::ReduceB>
type ReduceA = PushReducer<T, Self>
type ReduceB = ExtendReducer<Self>
type ReduceC = ExtendReducer<Self>
fn reducers() -> (Self::ReduceAFactory, Self::ReduceBFactory, Self::ReduceC)
[src]
impl<T: Data> FromIterator<T> for List<T>
[src]
fn from_iter<I: IntoIterator<Item = T>>(iter: I) -> Self
[src]
impl FromIterator<u8> for List<Value>
[src]
fn from_iter<I: IntoIterator<Item = u8>>(iter: I) -> Self
[src]
impl<T: Data> FromParallelStream<T> for List<T> where
T: Send + 'static,
[src]
T: Send + 'static,
type ReduceAFactory = DefaultReducerFactory<Self::ReduceA>
type ReduceA = PushReducer<T, Self>
type ReduceC = ExtendReducer<Self>
fn reducers() -> (Self::ReduceAFactory, Self::ReduceC)
[src]
impl<T: Data> Hash for List<T> where
T: Hash,
[src]
T: Hash,
fn hash<H>(&self, state: &mut H) where
H: Hasher,
[src]
H: Hasher,
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
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?
fn into_iter(self) -> Self::IntoIter
[src]
impl<T: Data> Ord for List<T> where
T: Ord,
[src]
T: Ord,
fn cmp(&self, other: &Self) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl<T: Data> PartialEq<List<T>> for Value where
Value: PartialEq<T>,
[src]
Value: PartialEq<T>,
impl<T: Data, U: Data> PartialEq<List<U>> for List<T> where
T: PartialEq<U>,
[src]
T: PartialEq<U>,
impl<T: Data, U: Data> PartialOrd<List<U>> for List<T> where
T: PartialOrd<U>,
[src]
T: PartialOrd<U>,
fn partial_cmp(&self, other: &List<U>) -> Option<Ordering>
[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<T: Data> RefUnwindSafe for List<T> where
T: RefUnwindSafe,
[src]
T: RefUnwindSafe,
impl<T: Data> Send for List<T> where
T: Send,
[src]
T: Send,
impl<T: Data> Serialize for List<T> where
T: Serialize,
[src]
T: Serialize,
impl<T: Data> Sync for List<T> where
T: Sync,
[src]
T: Sync,
impl<T: Data> Unpin for List<T> where
T: Unpin,
[src]
T: Unpin,
impl<T: Data> UnwindSafe for List<T> where
T: UnwindSafe,
[src]
T: UnwindSafe,
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, U> Cast<U> for T where
U: FromCast<T>,
U: FromCast<T>,
fn cast(self) -> U
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<A, B> Downcast<A> for B where
A: DowncastFrom<B>,
[src]
A: DowncastFrom<B>,
fn downcast(Self) -> Result<A, DowncastError>
[src]
impl<T> From<T> for T
[src]
impl<T> FromBits<T> for T
fn from_bits(t: T) -> T
impl<T> FromCast<T> for T
fn from_cast(t: T) -> T
impl<T> IntersectPlusUnionIsPlus for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> IntoBits<U> for T where
U: FromBits<T>,
U: FromBits<T>,
fn into_bits(self) -> U
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> ProcessSend for T where
T: Send + Serialize + for<'de> Deserialize<'de> + ?Sized,
[src]
T: Send + Serialize + for<'de> Deserialize<'de> + ?Sized,
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>,