Struct otter_api_tests::shapelib::HtmlStr[]

#[repr(transparent)]
pub struct HtmlStr(_);

Implementations

impl HtmlStr

pub fn from_html_str(s: &'s str) -> &'s HtmlStr

pub fn len(&self) -> usize

pub fn as_html_str(&self) -> &str

Trait Implementations

impl AsRef<HtmlStr> for Html

impl AsRef<HtmlStr> for HtmlStr

impl AsRef<HtmlStr> for HtmlLit

impl Borrow<HtmlStr> for Html

impl Borrow<HtmlStr> for HtmlLit

impl Debug for HtmlStr

impl Eq for HtmlStr

impl<'_> From<&'_ HtmlStr> for Html

impl From<HtmlLit> for &'static HtmlStr

impl Hash for HtmlStr

impl<'e> HtmlFormat<'e> for HtmlStr

type Encoded = &'e str

impl Ord for HtmlStr

impl PartialEq<HtmlStr> for HtmlStr

impl PartialOrd<HtmlStr> for HtmlStr

impl StructuralEq for HtmlStr

impl StructuralPartialEq for HtmlStr

impl ToOwned for HtmlStr

type Owned = Html

The resulting type after obtaining ownership.

Auto Trait Implementations

impl RefUnwindSafe for HtmlStr

impl Send for HtmlStr

impl !Sized for HtmlStr

impl Sync for HtmlStr

impl Unpin for HtmlStr

impl UnwindSafe for HtmlStr

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]