pub trait Join<Separator> { type Output; fn join(slice: &Self, sep: Separator) -> Self::Output; }
Helper trait for [T]::join
type Output
The resulting type after concatenation
fn join(slice: &Self, sep: Separator) -> Self::Output
Implementation of [T]::join
impl<'_, S> Join<&'_ str> for [S] where
    S: Borrow<str>,Â
[src]
type Output = String
fn 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