Function itertools::adaptors::take_while_ref
source · pub fn take_while_ref<I, F>(iter: &mut I, f: F) -> TakeWhileRef<'_, I, F> ⓘ
Expand description
Create a new TakeWhileRef
from a reference to clonable iterator.
pub fn take_while_ref<I, F>(iter: &mut I, f: F) -> TakeWhileRef<'_, I, F> ⓘ
Create a new TakeWhileRef
from a reference to clonable iterator.