pub struct HtmlSelfClosingTag<'a> {
pub name: Cow<'a, str>,
pub attributes: HashMap<Cow<'a, str>, Cow<'a, str>>,
}Fields§
§name: Cow<'a, str>§attributes: HashMap<Cow<'a, str>, Cow<'a, str>>Implementations§
Trait Implementations§
Source§impl<'a> Debug for HtmlSelfClosingTag<'a>
impl<'a> Debug for HtmlSelfClosingTag<'a>
Source§impl<'a> Display for HtmlSelfClosingTag<'a>
impl<'a> Display for HtmlSelfClosingTag<'a>
Source§impl<'a> From<HtmlSelfClosingTag<'a>> for HtmlContent<'a>
impl<'a> From<HtmlSelfClosingTag<'a>> for HtmlContent<'a>
Source§fn from(tag: HtmlSelfClosingTag<'a>) -> HtmlContent<'a>
fn from(tag: HtmlSelfClosingTag<'a>) -> HtmlContent<'a>
Converts to this type from the input type.
Source§impl<'a> PartialEq for HtmlSelfClosingTag<'a>
impl<'a> PartialEq for HtmlSelfClosingTag<'a>
impl<'a> StructuralPartialEq for HtmlSelfClosingTag<'a>
Auto Trait Implementations§
impl<'a> Freeze for HtmlSelfClosingTag<'a>
impl<'a> RefUnwindSafe for HtmlSelfClosingTag<'a>
impl<'a> Send for HtmlSelfClosingTag<'a>
impl<'a> Sync for HtmlSelfClosingTag<'a>
impl<'a> Unpin for HtmlSelfClosingTag<'a>
impl<'a> UnwindSafe for HtmlSelfClosingTag<'a>
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