Struct LinesAny
Deprecated since 1.4.0: use lines()/Lines instead now
#[must_use = "iterators are lazy and do nothing unless consumed"]
pub struct LinesAny<'a>(pub(in ::str) Lines<'a>);
Created with the method lines_any.
Fields
0: Lines<'a>
Trait Implementations
impl FusedIterator for LinesAny<'_>
impl<'a> Clone for LinesAny<'a>
fn clone(&self) -> LinesAny<'a>
impl<'a> Debug for LinesAny<'a>
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl<'a> DoubleEndedIterator for LinesAny<'a>
fn next_back(&mut self) -> Option<&'a str>
impl<'a> Iterator for LinesAny<'a>
type Item = &'a str;fn next(&mut self) -> Option<&'a str>fn size_hint(&self) -> (usize, Option<usize>)
Auto Trait Implementations
impl<'a> Freeze for LinesAny<'a>
impl<'a> RefUnwindSafe for LinesAny<'a>
impl<'a> Send for LinesAny<'a>
impl<'a> Sync for LinesAny<'a>
impl<'a> Unpin for LinesAny<'a>
impl<'a> UnsafeUnpin for LinesAny<'a>
impl<'a> UnwindSafe for LinesAny<'a>
Blanket Implementations
impl<I> IntoIterator for LinesAny<'a>
where
I: Iterator,
type Item = <I as Iterator>::Item;type IntoIter = I;fn into_iter(self) -> I
impl<T> Any for LinesAny<'a>
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for LinesAny<'a>
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for LinesAny<'a>
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> CloneToUninit for LinesAny<'a>
where
T: Clone,
unsafe fn clone_to_uninit(&self, dest: *mut u8)
impl<T> From<T> for LinesAny<'a>
fn from(t: T) -> TReturns the argument unchanged.
impl<T> SizeHint for LinesAny<'a>
where
T: ?Sized,
fn lower_bound(&self) -> usizefn upper_bound(&self) -> Option<usize>
impl<T> SizedTypeProperties for LinesAny<'a>
impl<T, U> Into<U> for LinesAny<'a>
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for LinesAny<'a>
where
U: Into<T>,
type Error = Infallible;fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto<U> for LinesAny<'a>
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>