pub struct svg {
pub attributes: <svg as TypedElement>::Attributes,
pub other_attributes: Vec<(String, Option<String>), Global>,
}
Available on crate feature
typed
only.Fields§
§attributes: <svg as TypedElement>::Attributes
§other_attributes: Vec<(String, Option<String>), Global>
Trait Implementations§
source§impl TypedElement for svg
impl TypedElement for svg
§type Attributes = SvgAttributes
type Attributes = SvgAttributes
The attributes of the element.
source§fn from_attributes(
attributes: <svg as TypedElement>::Attributes,
other_attributes: Vec<(String, Option<String>), Global>
) -> svg
fn from_attributes( attributes: <svg as TypedElement>::Attributes, other_attributes: Vec<(String, Option<String>), Global> ) -> svg
Create an element from its attributes.
Auto Trait Implementations§
impl RefUnwindSafe for svg
impl Send for svg
impl Sync for svg
impl Unpin for svg
impl UnwindSafe for svg
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