1 2 3 4 5 6 7 8 9 10 11 12 13
use super::{Collection, Get}; pub trait Seq<'a, V: 'a>: Collection + Get<usize, Output = V> where V: 'a + ?Sized, { } impl<'a, V, T> Seq<'a, V> for T where T: 'a + Collection + Get<usize, Output = V>, V: 'a + ?Sized, {}
1 2 3 4 5 6 7 8 9 10 11 12 13
use super::{Collection, Get}; pub trait Seq<'a, V: 'a>: Collection + Get<usize, Output = V> where V: 'a + ?Sized, { } impl<'a, V, T> Seq<'a, V> for T where T: 'a + Collection + Get<usize, Output = V>, V: 'a + ?Sized, {}