pub struct SvgNode {
pub tag: String,
pub attrs: Vec<(String, String)>,
pub css_fill: Option<String>,
pub children: Vec<SvgNode>,
}Expand description
インライン SVG の 1 要素(DOM とスタイルから組み立てる)。
Fields§
§tag: String§attrs: Vec<(String, String)>属性(出現順)。
css_fill: Option<String>CSS で指定された fill(無ければ None。表示属性の fill より強い)。
children: Vec<SvgNode>Trait Implementations§
Auto Trait Implementations§
impl Freeze for SvgNode
impl RefUnwindSafe for SvgNode
impl Send for SvgNode
impl Sync for SvgNode
impl Unpin for SvgNode
impl UnsafeUnpin 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