pub enum CapturedBlock {
Paragraph {
content: Vec<ContentNode>,
style: Option<String>,
list: Option<ListMeta>,
quote: bool,
horizontal_rule: bool,
},
Table(TableBlock),
}Expand description
Captured block.
Variants§
Paragraph
Paragraph-like block.
Fields
§
content: Vec<ContentNode>Paragraph content.
Table(TableBlock)
Table block.
Trait Implementations§
Source§impl Clone for CapturedBlock
impl Clone for CapturedBlock
Source§fn clone(&self) -> CapturedBlock
fn clone(&self) -> CapturedBlock
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for CapturedBlock
impl RefUnwindSafe for CapturedBlock
impl Send for CapturedBlock
impl Sync for CapturedBlock
impl Unpin for CapturedBlock
impl UnsafeUnpin for CapturedBlock
impl UnwindSafe for CapturedBlock
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