[][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.


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>, 

type Item = I

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: Copy, I: Copy> Copy 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

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> Send for ExtendCollection<T, I> where
    T: Send

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

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

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

Blanket Implementations

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

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

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

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

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> Borrow<T> for T where
    T: ?Sized

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