pub struct ParsedBlock {
pub spans: Vec<ParsedSpan>,
pub heading_level: Option<i64>,
pub list_style: Option<ListStyle>,
pub is_code_block: bool,
}Expand description
A parsed block (paragraph, heading, list item, code block)
Fields§
§spans: Vec<ParsedSpan>§heading_level: Option<i64>§list_style: Option<ListStyle>§is_code_block: boolTrait Implementations§
Source§impl Clone for ParsedBlock
impl Clone for ParsedBlock
Source§fn clone(&self) -> ParsedBlock
fn clone(&self) -> ParsedBlock
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 ParsedBlock
impl RefUnwindSafe for ParsedBlock
impl Send for ParsedBlock
impl Sync for ParsedBlock
impl Unpin for ParsedBlock
impl UnsafeUnpin for ParsedBlock
impl UnwindSafe for ParsedBlock
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