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
sourceimpl 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more