pub struct svg {
pub attributes: SvgAttributes,
pub data_attributes: Vec<(String, Option<String>), Global>,
pub aria_attributes: Vec<(String, Option<String>), Global>,
}
Fields§
§attributes: SvgAttributes
§data_attributes: Vec<(String, Option<String>), Global>
§aria_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,
data_attributes: Vec<(String, Option<String>), Global>,
aria_attributes: Vec<(String, Option<String>), Global>
) -> svg
fn from_attributes( attributes: <svg as TypedElement>::Attributes, data_attributes: Vec<(String, Option<String>), Global>, aria_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