Trait wasmer_types::lib::std::slice::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)
Available on crate feature std only.
Expand description

Helper trait for [T]::join

Required Associated Types§

source

type Output

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

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)

Implementation of [T]::join

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<S> Join<&str> for [S]
where S: Borrow<str>,

Available on non-no_global_oom_handling only.
source§

impl<S> Join<&OsStr> for [S]
where S: Borrow<OsStr>,

source§

impl<T, V> Join<&[T]> for [V]
where T: Clone, V: Borrow<[T]>,

Available on non-no_global_oom_handling only.
source§

impl<T, V> Join<&T> for [V]
where T: Clone, V: Borrow<[T]>,

Available on non-no_global_oom_handling only.