Trait orx_concurrent_iter::IntoCopied

source ·
pub trait IntoCopied<'a, T, C>
where Self: Into<C>, T: Send + Sync + Copy + 'a, C: AtomicIter<&'a T>,
{ // Provided method fn copied(self) -> Copied<'a, T, C> { ... } }
Expand description

Trait converting a concurrent iterator yielding &T to one yielding T by copying elements.

Provided Methods§

source

fn copied(self) -> Copied<'a, T, C>

Converts this concurrent iterator over references into another concurrent iterator yielding copies of the elements.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<'a, T, C> IntoCopied<'a, T, C> for C
where T: Send + Sync + Copy + 'a, C: AtomicIter<&'a T>,