pub struct DocsInvocation {
pub line: usize,
pub raw: String,
pub tokens: Vec<String>,
}Expand description
One heddle … invocation extracted from markdown.
Fields§
§line: usize1-based line number in the source buffer.
raw: StringDisplay form of the invocation (includes the heddle prefix).
tokens: Vec<String>Tokens after the heddle prefix (verb, subverbs, flags, values).
Trait Implementations§
Source§impl Clone for DocsInvocation
impl Clone for DocsInvocation
Source§fn clone(&self) -> DocsInvocation
fn clone(&self) -> DocsInvocation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DocsInvocation
impl Debug for DocsInvocation
impl Eq for DocsInvocation
Source§impl PartialEq for DocsInvocation
impl PartialEq for DocsInvocation
impl StructuralPartialEq for DocsInvocation
Auto Trait Implementations§
impl Freeze for DocsInvocation
impl RefUnwindSafe for DocsInvocation
impl Send for DocsInvocation
impl Sync for DocsInvocation
impl Unpin for DocsInvocation
impl UnsafeUnpin for DocsInvocation
impl UnwindSafe for DocsInvocation
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