pub struct SvgNode {
pub children: Vec<SvgChildNode>,
pub attributes: KeyMap<String, String>,
}
Expand description
SVG node for rendering stretchy wide elements
Fields§
§children: Vec<SvgChildNode>
Child nodes contained within this SVG
attributes: KeyMap<String, String>
HTML attributes for this SVG element
Implementations§
Trait Implementations§
Source§impl VirtualNode for SvgNode
Implement VirtualNode for SvgNode
impl VirtualNode for SvgNode
Implement VirtualNode for SvgNode
Source§fn write_markup(&self, fmt: &mut Formatter<'_>) -> Result<(), ParseError>
fn write_markup(&self, fmt: &mut Formatter<'_>) -> Result<(), ParseError>
Convert into HTML markup by writing into the provided formatter.
Auto Trait Implementations§
impl Freeze for SvgNode
impl RefUnwindSafe for SvgNode
impl Send for SvgNode
impl Sync for SvgNode
impl Unpin for SvgNode
impl UnwindSafe for SvgNode
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