pub struct HtmlLit(/* private fields */);Trait Implementations§
Source§impl Deserialize<'static> for HtmlLit
impl Deserialize<'static> for HtmlLit
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<HtmlLit, <__D as Deserializer<'static>>::Error>where
__D: Deserializer<'static>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<HtmlLit, <__D as Deserializer<'static>>::Error>where
__D: Deserializer<'static>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl<'e> HtmlFormat<'e> for HtmlLit
impl<'e> HtmlFormat<'e> for HtmlLit
type Encoded = &'static str
fn html_format<'f>(&'f self) -> <HtmlLit as HtmlFormat<'e>>::Encodedwhere
'f: 'e,
Source§impl Ord for HtmlLit
impl Ord for HtmlLit
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 PartialOrd for HtmlLit
impl PartialOrd for HtmlLit
Source§impl Serialize for HtmlLit
impl Serialize for HtmlLit
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for HtmlLit
impl StructuralPartialEq for HtmlLit
Auto Trait Implementations§
impl Freeze for HtmlLit
impl RefUnwindSafe for HtmlLit
impl Send for HtmlLit
impl Sync for HtmlLit
impl Unpin for HtmlLit
impl UnsafeUnpin for HtmlLit
impl UnwindSafe for HtmlLit
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<'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