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 Forget for Doc
impl Freeze for Docwhere
*const u8 is !null: Freeze,
PhantomData<CodeBlock>: Freeze,
PhantomData<Bind>: Freeze,
PhantomData<ClaimMarker>: Freeze,
impl Move for Doc
impl RefUnwindSafe for Doc
impl Send for Docwhere
RawVecInner: Send,
impl Sync for Docwhere
RawVecInner: Sync,
impl Unpin for Doc
impl UnsafeUnpin for Docwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<CodeBlock>: UnsafeUnpin,
PhantomData<Bind>: UnsafeUnpin,
PhantomData<ClaimMarker>: UnsafeUnpin,
impl UnwindSafe for Docwhere
RawVecInner: UnwindSafe,
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