Struct otter_api_tests::HtmlStr [−]
#[repr(transparent)]pub struct HtmlStr(_);
Implementations
impl HtmlStr
impl HtmlStr
pub fn from_html_str(s: &'s str) -> &'s HtmlStr
pub fn as_html_str(&self) -> &str
Trait Implementations
impl<'e> HtmlFormat<'e> for HtmlStr
impl<'e> HtmlFormat<'e> for HtmlStr
pub fn html_format<'f>(&'f self) -> <HtmlStr as HtmlFormat<'e>>::Encoded where
'f: 'e,
impl PartialOrd<HtmlStr> for HtmlStr
impl PartialOrd<HtmlStr> for HtmlStr
pub fn partial_cmp(&self, other: &HtmlStr) -> Option<Ordering>
pub fn partial_cmp(&self, other: &HtmlStr) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl StructuralEq for HtmlStr
impl StructuralPartialEq for HtmlStr
Auto Trait Implementations
impl RefUnwindSafe for HtmlStr
impl UnwindSafe for HtmlStr
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.