pub struct TaskLabel {
pub task: TaskId,
pub line: u32,
pub heading: Option<String>,
}Expand description
A task as explanations name it: its identity, the line of its block, and its heading.
Fields§
§task: TaskIdThe task.
line: u32The line of the block’s opening fence, counting from 1, or 0 when unknown.
heading: Option<String>The nearest heading above the block, if there is one.
Trait Implementations§
impl Eq for TaskLabel
impl StructuralPartialEq for TaskLabel
Auto Trait Implementations§
impl Freeze for TaskLabel
impl RefUnwindSafe for TaskLabel
impl Send for TaskLabel
impl Sync for TaskLabel
impl Unpin for TaskLabel
impl UnsafeUnpin for TaskLabel
impl UnwindSafe for TaskLabel
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.