Trait sp_std::slice::Join [−][src]
🔬 This is a nightly-only experimental API. (
slice_concat_trait
)Helper trait for [T]::join
Associated Types
type Output
[src]
🔬 This is a nightly-only experimental API. (
slice_concat_trait
)The resulting type after concatenation
Required methods
pub fn join(slice: &Self, sep: Separator) -> Self::Output
[src]
🔬 This is a nightly-only experimental API. (
slice_concat_trait
)Implementation of [T]::join
Implementations on Foreign Types
impl<'_, T, V> Join<&'_ T> for [V] where
T: Clone,
V: Borrow<[T]>,
[src]
T: Clone,
V: Borrow<[T]>,
type Output = Vec<T, Global>
🔬 This is a nightly-only experimental API. (
slice_concat_trait
)pub fn join(slice: &[V], sep: &T) -> Vec<T, Global>ⓘ
[src]
impl<'_, S> Join<&'_ str> for [S] where
S: Borrow<str>,
[src]
S: Borrow<str>,
type Output = String
🔬 This is a nightly-only experimental API. (
slice_concat_trait
)pub fn join(slice: &[S], sep: &str) -> String
[src]
impl<'_, T, V> Join<&'_ [T]> for [V] where
T: Clone,
V: Borrow<[T]>,
[src]
T: Clone,
V: Borrow<[T]>,
type Output = Vec<T, Global>
🔬 This is a nightly-only experimental API. (
slice_concat_trait
)