Struct MaybeEscaped
pub(crate) struct MaybeEscaped;
Marker type to indicate that the character may be escaped, used to optimize the iterator implementation.
Trait Implementations
impl Clone for MaybeEscaped
fn clone(&self) -> MaybeEscaped
impl Copy for MaybeEscaped
impl TrivialClone for MaybeEscaped
Auto Trait Implementations
impl Freeze for MaybeEscaped
impl RefUnwindSafe for MaybeEscaped
impl Send for MaybeEscaped
impl Sync for MaybeEscaped
impl Unpin for MaybeEscaped
impl UnsafeUnpin for MaybeEscaped
impl UnwindSafe for MaybeEscaped
Blanket Implementations
impl<T> Any for MaybeEscaped
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for MaybeEscaped
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for MaybeEscaped
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> CloneToUninit for MaybeEscaped
where
T: Clone,
unsafe fn clone_to_uninit(&self, dest: *mut u8)
impl<T> From<T> for MaybeEscaped
fn from(t: T) -> TReturns the argument unchanged.
impl<T> SizeHint for MaybeEscaped
where
T: ?Sized,
fn lower_bound(&self) -> usizefn upper_bound(&self) -> Option<usize>
impl<T> SizedTypeProperties for MaybeEscaped
impl<T, U> Into<U> for MaybeEscaped
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 MaybeEscaped
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 MaybeEscaped
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>