pub trait Join<Separator> {
type Output;
fn join(slice: &Self, sep: Separator) -> Self::Output;
}
Helper trait for [T]::join
type OutputThe resulting type after concatenation
fn join(slice: &Self, sep: Separator) -> Self::OutputImplementation of [T]::join
impl<'_, S> Join<&'_ str> for [S] where
    S: Borrow<str>, [src]
type Output = Stringfn join(slice: &[S], sep: &str) -> String[src]
impl<'_, T, V> Join<&'_ T> for [V] where
    T: Clone,
    V: Borrow<[T]>, [src]
type Output = Vec<T>fn join(slice: &[V], sep: &T) -> Vec<T>ⓘNotable traits for Vec<u8>
impl Write for Vec<u8>
[src]
impl<'_, T, V> Join<&'_ [T]> for [V] where
    T: Clone,
    V: Borrow<[T]>, [src]
© 2010 The Rust Project Developers
Licensed under the Apache License, Version 2.0 or the MIT license, at your option.
https://doc.rust-lang.org/std/slice/trait.Join.html