Struct subplot::PlantumlMarkup [−][src]
pub struct PlantumlMarkup { /* fields omitted */ }
Expand description
A code block with PlantUML markup.
use subplot::{GraphMarkup, PlantumlMarkup};
let markup = "@startuml\nAlice -> Bob\n@enduml";
let svg = PlantumlMarkup::new(&markup).as_svg().unwrap();
assert!(svg.len() > 0);
Implementations
Create a new PlantumlMarkup.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for PlantumlMarkup
impl Send for PlantumlMarkup
impl Sync for PlantumlMarkup
impl Unpin for PlantumlMarkup
impl UnwindSafe for PlantumlMarkup
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more