Struct comrak::nodes::NodeHtmlBlock
source · pub struct NodeHtmlBlock {
pub block_type: u8,
pub literal: String,
}
Expand description
The metadata of an included HTML block.
Fields§
§block_type: u8
The HTML block’s type
literal: String
The literal contents of the HTML block. Per NodeCodeBlock, the content is included here rather than in any inline.
Trait Implementations§
source§impl Clone for NodeHtmlBlock
impl Clone for NodeHtmlBlock
source§fn clone(&self) -> NodeHtmlBlock
fn clone(&self) -> NodeHtmlBlock
Returns a copy of the value. Read more
1.0.0 · 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 NodeHtmlBlock
impl Debug for NodeHtmlBlock
source§impl Default for NodeHtmlBlock
impl Default for NodeHtmlBlock
source§fn default() -> NodeHtmlBlock
fn default() -> NodeHtmlBlock
Returns the “default value” for a type. Read more
source§impl PartialEq for NodeHtmlBlock
impl PartialEq for NodeHtmlBlock
source§fn eq(&self, other: &NodeHtmlBlock) -> bool
fn eq(&self, other: &NodeHtmlBlock) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for NodeHtmlBlock
impl StructuralEq for NodeHtmlBlock
impl StructuralPartialEq for NodeHtmlBlock
Auto Trait Implementations§
impl RefUnwindSafe for NodeHtmlBlock
impl Send for NodeHtmlBlock
impl Sync for NodeHtmlBlock
impl Unpin for NodeHtmlBlock
impl UnwindSafe for NodeHtmlBlock
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