Struct EscapeDebug

struct EscapeDebug(_)

An iterator that yields the literal escape code of a char.

This struct is created by the escape_debug method on char. See its documentation for more.

Implementations

impl Clone for EscapeDebug

fn clone(self: &Self) -> EscapeDebug

impl Debug for EscapeDebug

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

impl Display for EscapeDebug

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

impl ExactSizeIterator for EscapeDebug

fn len(self: &Self) -> usize

impl Freeze for EscapeDebug

impl FusedIterator for EscapeDebug

impl Iterator for EscapeDebug

fn next(self: &mut Self) -> Option<char>
fn size_hint(self: &Self) -> (usize, Option<usize>)
fn count(self: Self) -> usize

impl RefUnwindSafe for EscapeDebug

impl Send for EscapeDebug

impl Sync for EscapeDebug

impl Unpin for EscapeDebug

impl UnwindSafe for EscapeDebug

impl<I> IntoIterator for EscapeDebug

fn into_iter(self: Self) -> I

impl<T> Any for EscapeDebug

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for EscapeDebug

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

impl<T> BorrowMut for EscapeDebug

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

impl<T> CloneToUninit for EscapeDebug

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

impl<T> From for EscapeDebug

fn from(t: T) -> T

Returns the argument unchanged.

impl<T, U> Into for EscapeDebug

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 EscapeDebug

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

impl<T, U> TryInto for EscapeDebug

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