Trait rune::alloc::iter::TryJoin

source ·
pub trait TryJoin<S, T, A>: Sized
where A: Allocator,
{ // Required method fn try_join_in<I>(iter: I, sep: S, alloc: A) -> Result<Self, Error> where I: IntoIterator<Item = T>; }
Expand description

Helper trait for joining iterators.

Required Methods§

source

fn try_join_in<I>(iter: I, sep: S, alloc: A) -> Result<Self, Error>
where I: IntoIterator<Item = T>,

Try to join the given value in the given allocator.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<T, A> TryJoin<&str, T, A> for String<A>
where A: Allocator, T: AsRef<str>,

source§

impl<T, A> TryJoin<char, T, A> for String<A>
where A: Allocator, T: AsRef<str>,