Struct NodeTaskItem
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.
Trait Implementations
impl Clone for NodeTaskItem
fn clone(&self) -> NodeTaskItem
impl Copy for NodeTaskItem
impl Debug for NodeTaskItem
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Eq for NodeTaskItem
impl PartialEq for NodeTaskItem
fn eq(&self, other: &NodeTaskItem) -> 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<T> Any for NodeTaskItem
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for NodeTaskItem
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for NodeTaskItem
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> CloneToUninit for NodeTaskItem
where
T: Clone,
unsafe fn clone_to_uninit(&self, dest: *mut u8)
impl<T> From<T> for NodeTaskItem
fn from(t: T) -> TReturns the argument unchanged.
impl<T> ToOwned for NodeTaskItem
where
T: Clone,
type Owned = T;fn to_owned(&self) -> Tfn clone_into(&self, target: &mut T)
impl<T, U> Into<U> for NodeTaskItem
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for NodeTaskItem
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for NodeTaskItem
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>