pub struct PathNode {
pub path_name: String,
pub alternate: Option<String>,
}
Expand description
SVG path node
Fields§
§path_name: String
Name of the predefined path
alternate: Option<String>
Optional alternate path data (used for sqrt, phase, tall delimiters)
Trait Implementations§
Source§impl VirtualNode for PathNode
impl VirtualNode for PathNode
Source§fn write_markup(&self, fmt: &mut Formatter<'_>) -> Result<(), ParseError>
fn write_markup(&self, fmt: &mut Formatter<'_>) -> Result<(), ParseError>
Convert this path node into HTML markup string
Auto Trait Implementations§
impl Freeze for PathNode
impl RefUnwindSafe for PathNode
impl Send for PathNode
impl Sync for PathNode
impl Unpin for PathNode
impl UnwindSafe for PathNode
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