pub struct SVGTag { /* private fields */ }
Implementations
sourceimpl SVGTag
impl SVGTag
pub fn new(
name: String,
text: String,
children: Vec<SVGTag>,
args: HashMap<String, Value>
) -> Result<SVGTag, Error>
pub fn new_empty(
name: String,
args: HashMap<String, Value>
) -> Result<SVGTag, Error>
pub fn reset_matching(&mut self)
pub fn copy_matching_ids_to_args(&mut self)
pub fn for_all_nodes_mut<F>(&mut self, f: &F)where
F: Fn(&mut SVGTag),
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for SVGTag
impl Send for SVGTag
impl Sync for SVGTag
impl Unpin for SVGTag
impl UnwindSafe for SVGTag
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more