generic_std/
slice.rs

1//! A dynamically-sized view into a contiguous sequence, [T].
2
3use crate::plug::PlugLifetime;
4use std::marker::PhantomData;
5use std::slice::Iter;
6
7/// HTK `&'a [T]` iterator with a lifetime slot
8pub struct TypedH1Iter<T>(PhantomData<T>);
9
10impl<'a, T> PlugLifetime<'a> for TypedH1Iter<T>
11where
12    T: 'a,
13{
14    type T = Iter<'a, T>;
15}