pub enum OutputRow {
Blank,
Paragraph {
text: String,
continuation: bool,
},
Heading {
level: usize,
text: String,
},
Bullet {
text: String,
continuation: bool,
},
Quote {
text: String,
continuation: bool,
},
CodeFenceStart {
language: String,
},
Code {
language: String,
line_number: usize,
gutter: Option<String>,
text: String,
tokens: Vec<CodeToken>,
},
CodeFenceEnd,
}Variants§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for OutputRow
impl<'de> Deserialize<'de> for OutputRow
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for OutputRow
impl StructuralPartialEq for OutputRow
Auto Trait Implementations§
impl Freeze for OutputRow
impl RefUnwindSafe for OutputRow
impl Send for OutputRow
impl Sync for OutputRow
impl Unpin for OutputRow
impl UnsafeUnpin for OutputRow
impl UnwindSafe for OutputRow
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