Struct NodeTaskItem
#[non_exhaustive]
pub struct NodeTaskItem { pub symbol: Option<char>, pub symbol_sourcepos: Sourcepos }
A task list item's contents, and where it was found
Fields
symbol: Option<char>The symbol within the brackets used to mark the task item as checked, or
Noneif unchecked.symbol_sourcepos: SourceposThe source position of the symbol itself.
Implementations
impl NodeTaskItem
fn new(symbol: Option<char>) -> SelfCreate a new
NodeTaskItemwith the given symbol.
Trait Implementations
impl Clone for NodeTaskItem
fn clone(&self) -> Self
impl Debug for NodeTaskItem
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Eq for NodeTaskItem
impl PartialEq for NodeTaskItem
fn eq(&self, other: &Self) -> bool