Struct FieldsWith
struct FieldsWith<'a, F> { ... }
An iterator over fields in the byte string, separated by a predicate over codepoints.
This iterator splits a byte string based on its predicate function such that the elements returned are separated by contiguous runs of codepoints for which the predicate returns true.
'a is the lifetime of the byte string being split, while F is the type
of the predicate, i.e., FnMut(char) -> bool.
Implementations
impl<'a, F> Freeze for FieldsWith<'a, F>
impl<'a, F> RefUnwindSafe for FieldsWith<'a, F>
impl<'a, F> Send for FieldsWith<'a, F>
impl<'a, F> Sync for FieldsWith<'a, F>
impl<'a, F> Unpin for FieldsWith<'a, F>
impl<'a, F> UnsafeUnpin for FieldsWith<'a, F>
impl<'a, F> UnwindSafe for FieldsWith<'a, F>
impl<'a, F: $crate::clone::Clone> Clone for FieldsWith<'a, F>
fn clone(self: &Self) -> FieldsWith<'a, F>
impl<'a, F: $crate::fmt::Debug> Debug for FieldsWith<'a, F>
fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result
impl<'a, F: FnMut(char) -> bool> Iterator for FieldsWith<'a, F>
fn next(self: &mut Self) -> Option<&'a [u8]>
impl<I> IntoIterator for FieldsWith<'a, F>
fn into_iter(self: Self) -> I
impl<T> Any for FieldsWith<'a, F>
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for FieldsWith<'a, F>
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for FieldsWith<'a, F>
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> CloneToUninit for FieldsWith<'a, F>
unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)
impl<T> From for FieldsWith<'a, F>
fn from(t: T) -> TReturns the argument unchanged.
impl<T> ToOwned for FieldsWith<'a, F>
fn to_owned(self: &Self) -> Tfn clone_into(self: &Self, target: &mut T)
impl<T, U> Into for FieldsWith<'a, F>
fn into(self: Self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom for FieldsWith<'a, F>
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for FieldsWith<'a, F>
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>