pub struct InlineToken {
pub token_type: TokenType,
pub start: usize,
pub end: usize,
pub kind: String,
pub label: String,
pub label_start: usize,
pub label_end: usize,
pub attributes: Option<String>,
pub target: String,
pub piped: bool,
pub formula: String,
pub name: String,
}Expand description
One inline form, with its byte offsets into the source it was read from.
Fields§
§token_type: TokenType§start: usize§end: usize§kind: StringA directive’s kind.
label: StringA directive’s label (and where it lies), a wiki-link’s or embed’s label, a footnote’s label.
label_start: usize§label_end: usize§attributes: Option<String>A directive’s attribute list’s text between the braces; None without one.
target: StringA wiki-link’s or an embed’s target; piped: it has a label too.
piped: bool§formula: StringInline math’s formula.
name: StringA parameter’s name.
Trait Implementations§
Source§impl Clone for InlineToken
impl Clone for InlineToken
Source§impl Debug for InlineToken
impl Debug for InlineToken
impl Eq for InlineToken
Source§impl PartialEq for InlineToken
impl PartialEq for InlineToken
impl StructuralPartialEq for InlineToken
Auto Trait Implementations§
impl Forget for InlineToken
impl Freeze for InlineToken
impl Move for InlineToken
impl RefUnwindSafe for InlineToken
impl Send for InlineToken
impl Sync for InlineToken
impl Unpin for InlineToken
impl UnsafeUnpin for InlineToken
impl UnwindSafe for InlineToken
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