pub struct Tuple<T>(pub Vec<T>);Tuple Fields§
§0: Vec<T>Implementations§
Trait Implementations§
Source§impl<T> Extend<T> for Tuple<T>
impl<T> Extend<T> for Tuple<T>
Source§fn extend<I: IntoIterator<Item = T>>(&mut self, iter: I)
fn extend<I: IntoIterator<Item = T>>(&mut self, iter: I)
Extends a collection with the contents of an iterator. Read more
Source§fn extend_one(&mut self, item: A)
fn extend_one(&mut self, item: A)
🔬This is a nightly-only experimental API. (
extend_one)Extends a collection with exactly one element.
Source§fn extend_reserve(&mut self, additional: usize)
fn extend_reserve(&mut self, additional: usize)
🔬This is a nightly-only experimental API. (
extend_one)Reserves capacity in a collection for the given number of additional elements. Read more
Source§impl<T> FromIterator<T> for Tuple<T>
impl<T> FromIterator<T> for Tuple<T>
Source§fn from_iter<I: IntoIterator<Item = T>>(iter: I) -> Self
fn from_iter<I: IntoIterator<Item = T>>(iter: I) -> Self
Creates a value from an iterator. Read more
Source§impl<'plural, T> IntoIterator for &'plural Tuple<T>
impl<'plural, T> IntoIterator for &'plural Tuple<T>
Source§impl<T> IntoIterator for Tuple<T>
impl<T> IntoIterator for Tuple<T>
Source§impl<T: Ord> Ord for Tuple<T>
impl<T: Ord> Ord for Tuple<T>
Source§impl<T: PartialOrd> PartialOrd for Tuple<T>
impl<T: PartialOrd> PartialOrd for Tuple<T>
impl<T: Eq> Eq for Tuple<T>
impl<T> StructuralPartialEq for Tuple<T>
Auto Trait Implementations§
impl<T> Freeze for Tuple<T>
impl<T> RefUnwindSafe for Tuple<T>where
T: RefUnwindSafe,
impl<T> Send for Tuple<T>where
T: Send,
impl<T> Sync for Tuple<T>where
T: Sync,
impl<T> Unpin for Tuple<T>where
T: Unpin,
impl<T> UnwindSafe for Tuple<T>where
T: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.