[][src]Struct combinedfun::types::ExtendCollection

pub struct ExtendCollection<T, I>(_, _);

Used as a wrapper to some container implementing Extend.

This is not recommended right now, since it always just pushes a single element, and can't reserve items beforehand.

Methods

impl<T, I> ExtendCollection<T, I>[src]

pub fn new(empty: T) -> Self[src]

Trait Implementations

impl<T, I> Collection for ExtendCollection<T, I> where
    T: Extend<I>, 
[src]

type Item = I

impl<T: Copy, I: Copy> Copy for ExtendCollection<T, I>[src]

impl<T: Clone, I: Clone> Clone for ExtendCollection<T, I>[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl<T: PartialEq, I: PartialEq> PartialEq<ExtendCollection<T, I>> for ExtendCollection<T, I>[src]

impl<T: Eq, I: Eq> Eq for ExtendCollection<T, I>[src]

impl<T: Debug, I: Debug> Debug for ExtendCollection<T, I>[src]

impl<T: Hash, I: Hash> Hash for ExtendCollection<T, I>[src]

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0[src]

Feeds a slice of this type into the given [Hasher]. Read more

Auto Trait Implementations

impl<T, I> Sync for ExtendCollection<T, I> where
    T: Sync

impl<T, I> Unpin for ExtendCollection<T, I> where
    T: Unpin

impl<T, I> Send for ExtendCollection<T, I> where
    T: Send

impl<T, I> UnwindSafe for ExtendCollection<T, I> where
    T: UnwindSafe

impl<T, I> RefUnwindSafe for ExtendCollection<T, I> where
    T: RefUnwindSafe

Blanket Implementations

impl<I, P, T> Tag<Span<I, P>> for T where
    I: Clone,
    P: Position<I>,
    T: Tag<I> + ?Sized
[src]

type Output = <T as Tag<I>>::Output

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

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

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

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<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]