pub struct ExtractToc;Expand description
html.extractToc: the headings, nested by rank, as the file’s data.toc, as
@stefanprobst/rehype-extract-toc stores them.
Trait Implementations§
Source§impl Clone for ExtractToc
impl Clone for ExtractToc
Source§impl Debug for ExtractToc
impl Debug for ExtractToc
Source§impl Default for ExtractToc
impl Default for ExtractToc
Source§impl Transform for ExtractToc
impl Transform for ExtractToc
fn input(&self) -> TreeKind
fn output(&self) -> TreeKind
fn run<'a>( &self, tree: Tree<'a>, file: &mut File, _alloc: &'a Allocator, ) -> Result<Tree<'a>, Error>
Auto Trait Implementations§
impl Freeze for ExtractToc
impl RefUnwindSafe for ExtractToc
impl Send for ExtractToc
impl Sync for ExtractToc
impl Unpin for ExtractToc
impl UnsafeUnpin for ExtractToc
impl UnwindSafe for ExtractToc
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