pub struct ParagraphRenderer<W: TextWrite = String> { /* private fields */ }Expand description
A renderer for paragraph nodes.
Implementations§
Source§impl<W: TextWrite> ParagraphRenderer<W>
impl<W: TextWrite> ParagraphRenderer<W>
Sourcepub fn format_options(&self) -> &Options
pub fn format_options(&self) -> &Options
Returns a reference to the HTML format options used by this renderer.
Sourcepub fn options(&self) -> &ParagraphRendererOptions<W>
pub fn options(&self) -> &ParagraphRendererOptions<W>
Returns a reference to the paragraph renderer options used by this renderer.
Trait Implementations§
Source§impl<'r, W> NodeRenderer<'r, W> for ParagraphRenderer<W>where
W: TextWrite + 'r,
impl<'r, W> NodeRenderer<'r, W> for ParagraphRenderer<W>where
W: TextWrite + 'r,
fn register_node_renderer_fn(self, nrr: &mut impl NodeRendererRegistry<'r, W>)
Source§impl<W: TextWrite> RenderNode<W> for ParagraphRenderer<W>
impl<W: TextWrite> RenderNode<W> for ParagraphRenderer<W>
Auto Trait Implementations§
impl<W> Freeze for ParagraphRenderer<W>
impl<W = String> !RefUnwindSafe for ParagraphRenderer<W>
impl<W = String> !Send for ParagraphRenderer<W>
impl<W = String> !Sync for ParagraphRenderer<W>
impl<W> Unpin for ParagraphRenderer<W>
impl<W> UnsafeUnpin for ParagraphRenderer<W>
impl<W = String> !UnwindSafe for ParagraphRenderer<W>
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