pub struct HtmlContainer {
pub meta: NodeMeta,
pub opening: HtmlTag,
pub content: HtmlContainerContent,
pub closing: HtmlTag,
}Expand description
A structured raw HTML container, such as <details> ... </details>.
Fields§
§meta: NodeMetaNode metadata (source span).
opening: HtmlTagThe opening HTML tag.
content: HtmlContainerContentThe parsed container content.
closing: HtmlTagThe closing HTML tag.
Trait Implementations§
Source§impl Clone for HtmlContainer
impl Clone for HtmlContainer
Source§fn clone(&self) -> HtmlContainer
fn clone(&self) -> HtmlContainer
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 Debug for HtmlContainer
impl Debug for HtmlContainer
impl Eq for HtmlContainer
Source§impl From<HtmlContainer> for Block
impl From<HtmlContainer> for Block
Source§fn from(node: HtmlContainer) -> Self
fn from(node: HtmlContainer) -> Self
Converts to this type from the input type.
Source§impl PartialEq for HtmlContainer
impl PartialEq for HtmlContainer
Source§fn eq(&self, other: &HtmlContainer) -> bool
fn eq(&self, other: &HtmlContainer) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for HtmlContainer
Auto Trait Implementations§
impl Freeze for HtmlContainer
impl RefUnwindSafe for HtmlContainer
impl Send for HtmlContainer
impl Sync for HtmlContainer
impl Unpin for HtmlContainer
impl UnsafeUnpin for HtmlContainer
impl UnwindSafe for HtmlContainer
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