pub struct Doc {
pub blocks: Vec<CodeBlock>,
pub binds: Vec<Bind>,
pub claims: Vec<ClaimMarker>,
}Expand description
Everything scan extracts from one markdown file: fenced code blocks
plus soothfast:bind / soothfast:claim markers, in document order.
Fields§
§blocks: Vec<CodeBlock>Fenced code blocks, with language and tags.
binds: Vec<Bind><!-- soothfast:bind ... --> markers.
claims: Vec<ClaimMarker><!-- soothfast:claim ... --> markers.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Doc
impl RefUnwindSafe for Doc
impl Send for Doc
impl Sync for Doc
impl Unpin for Doc
impl UnsafeUnpin for Doc
impl UnwindSafe for Doc
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