alloc::slice

Trait Join

source
pub trait Join<Separator> {
    type Output;

    // Required method
    fn join(slice: &Self, sep: Separator) -> Self::Output;
}
🔬This is a nightly-only experimental API. (slice_concat_trait #27747)
Expand description

Helper trait for [T]::join

Required Associated Types§

source

type Output

🔬This is a nightly-only experimental API. (slice_concat_trait #27747)

The resulting type after concatenation

Required Methods§

source

fn join(slice: &Self, sep: Separator) -> Self::Output

🔬This is a nightly-only experimental API. (slice_concat_trait #27747)

Implementation of [T]::join

Object Safety§

This trait is not object safe.

Implementors§