Struct EscapeUnicode

struct EscapeUnicode(_)

Returns an iterator that yields the hexadecimal Unicode escape of a character, as chars.

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

Implementations

impl Clone for EscapeUnicode

fn clone(self: &Self) -> EscapeUnicode

impl Debug for EscapeUnicode

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

impl Display for EscapeUnicode

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

impl ExactSizeIterator for EscapeUnicode

fn len(self: &Self) -> usize

impl Freeze for EscapeUnicode

impl FusedIterator for EscapeUnicode

impl Iterator for EscapeUnicode

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

impl RefUnwindSafe for EscapeUnicode

impl Send for EscapeUnicode

impl Sync for EscapeUnicode

impl Unpin for EscapeUnicode

impl UnwindSafe for EscapeUnicode

impl<I> IntoIterator for EscapeUnicode

fn into_iter(self: Self) -> I

impl<T> Any for EscapeUnicode

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for EscapeUnicode

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

impl<T> BorrowMut for EscapeUnicode

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

impl<T> CloneToUninit for EscapeUnicode

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

impl<T> From for EscapeUnicode

fn from(t: T) -> T

Returns the argument unchanged.

impl<T, U> Into for EscapeUnicode

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 EscapeUnicode

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

impl<T, U> TryInto for EscapeUnicode

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