pub struct UnwrapImages;Expand description
html.unwrapImages: paragraphs that hold only images, and links around them, give way to
their content, as rehype-unwrap-images does.
Trait Implementations§
Source§impl Clone for UnwrapImages
impl Clone for UnwrapImages
Source§impl Debug for UnwrapImages
impl Debug for UnwrapImages
Source§impl Default for UnwrapImages
impl Default for UnwrapImages
Source§impl Plugin for UnwrapImages
impl Plugin for UnwrapImages
Source§impl Transform for UnwrapImages
impl Transform for UnwrapImages
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>
Source§fn start<'a>(
&self,
tree: Tree<'a>,
file: &mut File,
alloc: &'a Bump,
) -> Result<Step<'a>, Error>
fn start<'a>( &self, tree: Tree<'a>, file: &mut File, alloc: &'a Bump, ) -> Result<Step<'a>, Error>
Start the stage: a finished tree, or a job when its work is asynchronous.
Source§fn host(&self) -> Option<u32>
fn host(&self) -> Option<u32>
The id of the binding function this stage stands for, which takes and returns
whatever tree reaches it;
None for a stage the crate runs.Source§fn html_writer(&self, _target: HtmlTarget) -> Option<Box<dyn HtmlWriter>>
fn html_writer(&self, _target: HtmlTarget) -> Option<Box<dyn HtmlWriter>>
Something that writes, from this stage’s input, the HTML a compiler aiming at
target would write from its output, when the stage can skip building that tree.Auto Trait Implementations§
impl Freeze for UnwrapImages
impl RefUnwindSafe for UnwrapImages
impl Send for UnwrapImages
impl Sync for UnwrapImages
impl Unpin for UnwrapImages
impl UnsafeUnpin for UnwrapImages
impl UnwindSafe for UnwrapImages
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