pub struct DotMarkup { /* private fields */ }
Expand description
A code block with Dot markup.
use subplot::{DiagramMarkup, DotMarkup};
let markup = r#"digraph "foo" { a -> b }"#;
let svg = DotMarkup::new(&markup).as_svg().unwrap();
assert!(svg.len() > 0);
Implementations§
Trait Implementations§
source§impl DiagramMarkup for DotMarkup
impl DiagramMarkup for DotMarkup
Auto Trait Implementations§
impl RefUnwindSafe for DotMarkup
impl Send for DotMarkup
impl Sync for DotMarkup
impl Unpin for DotMarkup
impl UnwindSafe for DotMarkup
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