pub enum Token {
}Expand description
Token types for inline markdown content.
Variants§
Text(String)
Plain text content
TripleAsterisk
Triple asterisk: ***
DoubleAsterisk
Double asterisk: **
Asterisk
Single asterisk: *
TripleUnderscore
Triple underscore: ___
DoubleUnderscore
Double underscore: __
Underscore
Single underscore: _
DoubleAsteriskUnderscore
**_ combination (bold + italic start)
UnderscoreDoubleAsterisk
_** combination (italic + bold end)
DoubleTilde
Tilde pair: ~~
Backticks(usize)
Backticks (variable count)
Link
A link: text
Image
An image:
Footnote(u32)
A footnote reference: [^1]
Implementations§
Trait Implementations§
impl Eq for Token
impl StructuralPartialEq for Token
Auto Trait Implementations§
impl Freeze for Token
impl RefUnwindSafe for Token
impl Send for Token
impl Sync for Token
impl Unpin for Token
impl UnwindSafe for Token
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