pub struct CmdRenderer { /* private fields */ }Expand description
A generic renderer which will shell out to an arbitrary executable.
See https://rust-lang.github.io/mdBook/for_developers/backends.html for a description of the renderer protocol.
Implementations§
Source§impl CmdRenderer
impl CmdRenderer
Sourcepub fn new(name: String, cmd: String) -> CmdRenderer
pub fn new(name: String, cmd: String) -> CmdRenderer
Create a new CmdRenderer which will invoke the provided cmd string.
Trait Implementations§
Source§impl Clone for CmdRenderer
impl Clone for CmdRenderer
Source§fn clone(&self) -> CmdRenderer
fn clone(&self) -> CmdRenderer
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CmdRenderer
impl Debug for CmdRenderer
Source§impl PartialEq for CmdRenderer
impl PartialEq for CmdRenderer
Source§impl Renderer for CmdRenderer
impl Renderer for CmdRenderer
impl StructuralPartialEq for CmdRenderer
Auto Trait Implementations§
impl Freeze for CmdRenderer
impl RefUnwindSafe for CmdRenderer
impl Send for CmdRenderer
impl Sync for CmdRenderer
impl Unpin for CmdRenderer
impl UnwindSafe for CmdRenderer
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