Skip to content

Commit

Permalink
Implement Clone for LanesIter
Browse files Browse the repository at this point in the history
  • Loading branch information
jturner314 committed Oct 11, 2018
1 parent e8a413a commit f50b919
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/iterators/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -515,6 +515,18 @@ pub struct LanesIter<'a, A: 'a, D> {
life: PhantomData<&'a A>,
}

clone_bounds!(
['a, A, D: Clone]
LanesIter['a, A, D] {
@copy {
inner_len,
inner_stride,
life,
}
iter,
}
);

impl<'a, A, D> Iterator for LanesIter<'a, A, D>
where D: Dimension
{
Expand Down

0 comments on commit f50b919

Please sign in to comment.