pub enum EdgePrim {
Path {
d: String,
stroke: String,
fill: String,
stroke_width: f64,
stroke_dasharray: Option<String>,
class: String,
},
Text {
x: f64,
y: f64,
text: String,
fill: String,
font_size: f64,
anchor: String,
class: String,
},
}Expand description
One SVG-ish path or text fragment for overlays.
Variants§
Trait Implementations§
impl StructuralPartialEq for EdgePrim
Auto Trait Implementations§
impl Freeze for EdgePrim
impl RefUnwindSafe for EdgePrim
impl Send for EdgePrim
impl Sync for EdgePrim
impl Unpin for EdgePrim
impl UnsafeUnpin for EdgePrim
impl UnwindSafe for EdgePrim
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