[−][src]Struct combinedfun::types::ExtendCollection
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]
Trait Implementations
impl<T, I> Collection for ExtendCollection<T, I> where
T: Extend<I>,
[src]
T: Extend<I>,
type Item = I
fn reserve(&mut self, _: usize)
[src]
fn push(&mut self, _: usize, item: Self::Item)
[src]
impl<T: Copy, I: Copy> Copy for ExtendCollection<T, I>
[src]
impl<T: Clone, I: Clone> Clone for ExtendCollection<T, I>
[src]
fn clone(&self) -> 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]
fn eq(&self, other: &ExtendCollection<T, I>) -> bool
[src]
fn ne(&self, other: &ExtendCollection<T, I>) -> bool
[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]
Auto Trait Implementations
impl<T, I> Sync for ExtendCollection<T, I> where
T: Sync,
T: Sync,
impl<T, I> Unpin for ExtendCollection<T, I> where
T: Unpin,
T: Unpin,
impl<T, I> Send for ExtendCollection<T, I> where
T: Send,
T: Send,
impl<T, I> UnwindSafe for ExtendCollection<T, I> where
T: UnwindSafe,
T: UnwindSafe,
impl<T, I> RefUnwindSafe for ExtendCollection<T, I> where
T: RefUnwindSafe,
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]
I: Clone,
P: Position<I>,
T: Tag<I> + ?Sized,
type Output = <T as Tag<I>>::Output
fn parse_tag(
&Self,
Span<I, P>
) -> Option<(<T as Tag<Span<I, P>>>::Output, Span<I, P>)>
[src]
&Self,
Span<I, P>
) -> Option<(<T as Tag<Span<I, P>>>::Output, Span<I, P>)>
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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> From<T> for 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<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> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,