pub struct Markdown<'s> {
pub s: &'s str,
pub tokens: Vec<Token<'s>>,
}Expand description
The result of parsing a markdown string: the source text and its token stream.
Fields§
§s: &'s strThe original source text.
tokens: Vec<Token<'s>>Parsed token stream.
Auto Trait Implementations§
impl<'s> Freeze for Markdown<'s>
impl<'s> RefUnwindSafe for Markdown<'s>
impl<'s> Send for Markdown<'s>
impl<'s> Sync for Markdown<'s>
impl<'s> Unpin for Markdown<'s>
impl<'s> UnsafeUnpin for Markdown<'s>
impl<'s> UnwindSafe for Markdown<'s>
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