pub struct ProcessingState {
pub section: Section,
pub code: Vec<String>,
pub original_output: Vec<String>,
pub skip_code_block: bool,
pub output: Option<Vec<String>>,
pub new_lines: Vec<String>,
pub backtick_options: BacktickOptions,
pub backtick_standardize: bool,
pub indent: String,
pub verbose: bool,
/* private fields */
}Expand description
Processing state for the Markdown file.
Fields§
§section: SectionCurrent section being processed.
code: Vec<String>Code lines collected from the current code block.
original_output: Vec<String>Original output lines (preserved when skipping).
skip_code_block: boolWhether to skip the next code block.
output: Option<Vec<String>>Output from the last executed code block.
new_lines: Vec<String>New lines being built.
backtick_options: BacktickOptionsOptions from the current backtick code block.
backtick_standardize: boolWhether to standardize backticks (remove markdown-code-runner).
indent: StringIndentation of the current code block.
verbose: boolVerbose mode for debugging.
Implementations§
Auto Trait Implementations§
impl Freeze for ProcessingState
impl RefUnwindSafe for ProcessingState
impl Send for ProcessingState
impl Sync for ProcessingState
impl Unpin for ProcessingState
impl UnwindSafe for ProcessingState
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