pub enum HtmlContainerContent {
Blocks(Vec<Block>),
Inlines(Vec<Inline>),
}Expand description
The parsed content inside an HtmlContainer.
Variants§
Blocks(Vec<Block>)
Block-level Markdown content.
Inlines(Vec<Inline>)
Inline-level Markdown content.
Trait Implementations§
Source§impl Clone for HtmlContainerContent
impl Clone for HtmlContainerContent
Source§fn clone(&self) -> HtmlContainerContent
fn clone(&self) -> HtmlContainerContent
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 HtmlContainerContent
impl Debug for HtmlContainerContent
impl Eq for HtmlContainerContent
Source§impl PartialEq for HtmlContainerContent
impl PartialEq for HtmlContainerContent
Source§fn eq(&self, other: &HtmlContainerContent) -> bool
fn eq(&self, other: &HtmlContainerContent) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for HtmlContainerContent
Auto Trait Implementations§
impl Freeze for HtmlContainerContent
impl RefUnwindSafe for HtmlContainerContent
impl Send for HtmlContainerContent
impl Sync for HtmlContainerContent
impl Unpin for HtmlContainerContent
impl UnsafeUnpin for HtmlContainerContent
impl UnwindSafe for HtmlContainerContent
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