Struct svg::node::element::ForeignObject
source · pub struct ForeignObject { /* private fields */ }
Expand description
A foreignObject
element.
Implementations§
source§impl ForeignObject
impl ForeignObject
Methods from Deref<Target = Element>§
sourcepub fn get_attributes(&self) -> &Attributes
pub fn get_attributes(&self) -> &Attributes
Return the attributes.
sourcepub fn get_attributes_mut(&mut self) -> &mut Attributes
pub fn get_attributes_mut(&mut self) -> &mut Attributes
Return the attributes as mutable.
sourcepub fn get_children(&self) -> &Children
pub fn get_children(&self) -> &Children
Return the children.
sourcepub fn get_children_mut(&mut self) -> &mut Children
pub fn get_children_mut(&mut self) -> &mut Children
Return the children as mutable.
Trait Implementations§
source§impl Clone for ForeignObject
impl Clone for ForeignObject
source§fn clone(&self) -> ForeignObject
fn clone(&self) -> ForeignObject
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more