Struct EscapeDefault

struct EscapeDefault(_)

An iterator over the escaped version of a byte.

This struct is created by the escape_default function. See its documentation for more.

Implementations

impl Clone for EscapeDefault

fn clone(self: &Self) -> EscapeDefault

impl Debug for EscapeDefault

fn fmt(self: &Self, f: &mut fmt::Formatter<'_>) -> fmt::Result

impl Display for EscapeDefault

fn fmt(self: &Self, f: &mut fmt::Formatter<'_>) -> fmt::Result

impl DoubleEndedIterator for EscapeDefault

fn next_back(self: &mut Self) -> Option<u8>
fn advance_back_by(self: &mut Self, n: usize) -> Result<(), NonZero<usize>>

impl ExactSizeIterator for EscapeDefault

fn len(self: &Self) -> usize

impl Freeze for EscapeDefault

impl FusedIterator for EscapeDefault

impl Iterator for EscapeDefault

fn next(self: &mut Self) -> Option<u8>
fn size_hint(self: &Self) -> (usize, Option<usize>)
fn count(self: Self) -> usize
fn last(self: Self) -> Option<u8>
fn advance_by(self: &mut Self, n: usize) -> Result<(), NonZero<usize>>

impl RefUnwindSafe for EscapeDefault

impl Send for EscapeDefault

impl Sync for EscapeDefault

impl Unpin for EscapeDefault

impl UnwindSafe for EscapeDefault

impl<I> IntoIterator for EscapeDefault

fn into_iter(self: Self) -> I

impl<T> Any for EscapeDefault

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for EscapeDefault

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for EscapeDefault

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> CloneToUninit for EscapeDefault

unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)

impl<T> From for EscapeDefault

fn from(t: T) -> T

Returns the argument unchanged.

impl<T, U> Into for EscapeDefault

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom for EscapeDefault

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for EscapeDefault

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>