Struct StrippedStr
pub struct StrippedStr<'s> { /* private fields */ }
See strip_str
Implementations
impl<'s> StrippedStr<'s>
fn to_string(&self) -> StringCreate a
Stringof the printable content
Trait Implementations
impl Display for StrippedStr<'_>
fn fmt(&self, f: &mut Formatter<'_>) -> ResultNote: this does not exhaust the
Iterator
impl<'s> Clone for StrippedStr<'s>
fn clone(&self) -> Self
impl<'s> Debug for StrippedStr<'s>
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl<'s> Default for StrippedStr<'s>
fn default() -> Self
impl<'s> Eq for StrippedStr<'s>
impl<'s> Iterator for StrippedStr<'s>
type Item = &'s str;fn next(&mut self) -> Option<Self::Item>
impl<'s> PartialEq for StrippedStr<'s>
fn eq(&self, other: &Self) -> bool
impl<'s> StructuralPartialEq for StrippedStr<'s>
Auto Trait Implementations
impl<'s> Freeze for StrippedStr<'s>
impl<'s> RefUnwindSafe for StrippedStr<'s>
impl<'s> Send for StrippedStr<'s>
impl<'s> Sync for StrippedStr<'s>
impl<'s> Unpin for StrippedStr<'s>
impl<'s> UnsafeUnpin for StrippedStr<'s>
impl<'s> UnwindSafe for StrippedStr<'s>
Blanket Implementations
impl<I> IntoIterator for StrippedStr<'s>
where
I: Iterator,
type Item = <I as Iterator>::Item;type IntoIter = I;fn into_iter(self) -> I
impl<T> Any for StrippedStr<'s>
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for StrippedStr<'s>
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for StrippedStr<'s>
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> CloneToUninit for StrippedStr<'s>
where
T: Clone,
unsafe fn clone_to_uninit(&self, dest: *mut u8)
impl<T> From<T> for StrippedStr<'s>
fn from(t: T) -> TReturns the argument unchanged.
impl<T> ToOwned for StrippedStr<'s>
where
T: Clone,
type Owned = T;fn to_owned(&self) -> Tfn clone_into(&self, target: &mut T)
impl<T> ToString for StrippedStr<'s>
where
T: Display + ?Sized,
fn to_string(&self) -> String
impl<T, U> Into<U> for StrippedStr<'s>
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 StrippedStr<'s>
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for StrippedStr<'s>
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>