Enum joinery::iter::JoinItem [−][src]
pub enum JoinItem<T, S> { Element(T), Separator(S), }
Expand description
Enum representing the elements of a JoinIter
.
Variants
An element from the underlying iterator
A separator between two elements
Implementations
Trait Implementations
impl<T: Eq, S: Eq> Eq for JoinItem<T, S>
[src]
impl<T, S> StructuralEq for JoinItem<T, S>
[src]
impl<T, S> StructuralPartialEq for JoinItem<T, S>
[src]
Auto Trait Implementations
impl<T, S> RefUnwindSafe for JoinItem<T, S> where
S: RefUnwindSafe,
T: RefUnwindSafe,
S: RefUnwindSafe,
T: RefUnwindSafe,
impl<T, S> Send for JoinItem<T, S> where
S: Send,
T: Send,
S: Send,
T: Send,
impl<T, S> Sync for JoinItem<T, S> where
S: Sync,
T: Sync,
S: Sync,
T: Sync,
impl<T, S> Unpin for JoinItem<T, S> where
S: Unpin,
T: Unpin,
S: Unpin,
T: Unpin,
impl<T, S> UnwindSafe for JoinItem<T, S> where
S: UnwindSafe,
T: UnwindSafe,
S: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more