pub enum Context {
Paragraph,
Heading {
level: u32,
},
List {
ordered: bool,
item_count: usize,
},
ListItem,
Blockquote,
CodeBlock,
Strong,
Emphasis,
Strikethrough,
Link {
url: String,
},
Image {
url: String,
title: String,
},
}Expand description
Context for tracking where we are in the document
Variants§
Trait Implementations§
impl StructuralPartialEq for Context
Auto Trait Implementations§
impl Freeze for Context
impl RefUnwindSafe for Context
impl Send for Context
impl Sync for Context
impl Unpin for Context
impl UnwindSafe for Context
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