pub enum JoinItem<T, S> {
Element(T),
Separator(S),
}
Expand description
Enum representing the elements of a JoinIter
.
Variants§
Implementations§
Trait Implementations§
impl<T: Eq, S: Eq> Eq for JoinItem<T, S>
impl<T, S> StructuralPartialEq for JoinItem<T, S>
Auto Trait Implementations§
impl<T, S> Freeze for JoinItem<T, S>
impl<T, S> RefUnwindSafe for JoinItem<T, S>where
T: RefUnwindSafe,
S: RefUnwindSafe,
impl<T, S> Send for JoinItem<T, S>
impl<T, S> Sync for JoinItem<T, S>
impl<T, S> Unpin for JoinItem<T, S>
impl<T, S> UnwindSafe for JoinItem<T, S>where
T: UnwindSafe,
S: 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