Struct subplot::PikchrMarkup
source · [−]pub struct PikchrMarkup { /* private fields */ }
Expand description
A code block with pikchr markup.
use subplot::{DiagramMarkup, PikchrMarkup};
let markup = r#"line; box "Hello," "World!"; arrow"#;
let svg = PikchrMarkup::new(markup, None).as_svg().unwrap();
assert!(svg.len() > 0);
Implementations
sourceimpl PikchrMarkup
impl PikchrMarkup
Trait Implementations
sourceimpl DiagramMarkup for PikchrMarkup
impl DiagramMarkup for PikchrMarkup
Auto Trait Implementations
impl RefUnwindSafe for PikchrMarkup
impl Send for PikchrMarkup
impl Sync for PikchrMarkup
impl Unpin for PikchrMarkup
impl UnwindSafe for PikchrMarkup
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