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 None if unchecked.

symbol_sourcepos: Sourcepos

The source position of the symbol itself.

Implementations

impl NodeTaskItem

fn new(symbol: Option<char>) -> Self

Create a new NodeTaskItem with 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

impl StructuralPartialEq for NodeTaskItem

Auto Trait Implementations

impl Freeze for NodeTaskItem

impl RefUnwindSafe for NodeTaskItem

impl Send for NodeTaskItem

impl Sync for NodeTaskItem

impl Unpin for NodeTaskItem

impl UnsafeUnpin for NodeTaskItem

impl UnwindSafe for NodeTaskItem

Blanket Implementations

impl<F, T, S> SimdInto<T, S> for NodeTaskItem where T: SimdFrom<F, S>, S: Simd,

impl<T> Any for NodeTaskItem where T: 'static + ?Sized,

impl<T> Borrow<T> for NodeTaskItem where T: ?Sized,

impl<T> BorrowMut<T> for NodeTaskItem where T: ?Sized,

impl<T> CloneToUninit for NodeTaskItem where T: Clone,

impl<T> From<T> for NodeTaskItem

impl<T> ToOwned for NodeTaskItem where T: Clone,

impl<T, S> SimdFrom<T, S> for NodeTaskItem where S: Simd,

impl<T, U> Into<U> for NodeTaskItem where U: From<T>,

impl<T, U> TryFrom<U> for NodeTaskItem where U: Into<T>,

impl<T, U> TryInto<U> for NodeTaskItem where U: TryFrom<T>,