pub struct IsHtmlFormatted<T>(pub T)
where
T: Display;Tuple Fields§
§0: TTrait Implementations§
Source§impl<T> Clone for IsHtmlFormatted<T>
impl<T> Clone for IsHtmlFormatted<T>
Source§fn clone(&self) -> IsHtmlFormatted<T>
fn clone(&self) -> IsHtmlFormatted<T>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<T> Debug for IsHtmlFormatted<T>
impl<T> Debug for IsHtmlFormatted<T>
Source§impl<T> Hash for IsHtmlFormatted<T>
impl<T> Hash for IsHtmlFormatted<T>
Source§impl<'e, T> HtmlFormat<'e> for IsHtmlFormatted<T>where
T: Display + 'e,
impl<'e, T> HtmlFormat<'e> for IsHtmlFormatted<T>where
T: Display + 'e,
type Encoded = &'e T
fn html_format<'f>(&'f self) -> <IsHtmlFormatted<T> as HtmlFormat<'e>>::Encodedwhere
'f: 'e,
Source§impl<T> Ord for IsHtmlFormatted<T>
impl<T> Ord for IsHtmlFormatted<T>
Source§fn cmp(&self, other: &IsHtmlFormatted<T>) -> Ordering
fn cmp(&self, other: &IsHtmlFormatted<T>) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<T> PartialEq for IsHtmlFormatted<T>
impl<T> PartialEq for IsHtmlFormatted<T>
Source§fn eq(&self, other: &IsHtmlFormatted<T>) -> bool
fn eq(&self, other: &IsHtmlFormatted<T>) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl<T> PartialOrd for IsHtmlFormatted<T>where
T: PartialOrd + Display,
impl<T> PartialOrd for IsHtmlFormatted<T>where
T: PartialOrd + Display,
impl<T> Copy for IsHtmlFormatted<T>
impl<T> Eq for IsHtmlFormatted<T>
impl<T> StructuralPartialEq for IsHtmlFormatted<T>where
T: Display,
Auto Trait Implementations§
impl<T> Freeze for IsHtmlFormatted<T>where
T: Freeze,
impl<T> RefUnwindSafe for IsHtmlFormatted<T>where
T: RefUnwindSafe,
impl<T> Send for IsHtmlFormatted<T>where
T: Send,
impl<T> Sync for IsHtmlFormatted<T>where
T: Sync,
impl<T> Unpin for IsHtmlFormatted<T>where
T: Unpin,
impl<T> UnsafeUnpin for IsHtmlFormatted<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for IsHtmlFormatted<T>where
T: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<'e, T> HtmlFormatRef<'e, T> for Twhere
T: HtmlFormat<'e>,
impl<'e, T> HtmlFormatRef<'e, T> for Twhere
T: HtmlFormat<'e>,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more