pub struct img {
pub attributes: ImgAttributes,
pub data_attributes: Vec<(String, Option<String>), Global>,
pub aria_attributes: Vec<(String, Option<String>), Global>,
}
Fields§
§attributes: ImgAttributes
§data_attributes: Vec<(String, Option<String>), Global>
§aria_attributes: Vec<(String, Option<String>), Global>
Trait Implementations§
source§impl TypedElement for img
impl TypedElement for img
§type Attributes = ImgAttributes
type Attributes = ImgAttributes
The attributes of the element.
source§fn from_attributes(
attributes: <img as TypedElement>::Attributes,
data_attributes: Vec<(String, Option<String>), Global>,
aria_attributes: Vec<(String, Option<String>), Global>
) -> img
fn from_attributes( attributes: <img as TypedElement>::Attributes, data_attributes: Vec<(String, Option<String>), Global>, aria_attributes: Vec<(String, Option<String>), Global> ) -> img
Create an element from its attributes.
Auto Trait Implementations§
impl RefUnwindSafe for img
impl Send for img
impl Sync for img
impl Unpin for img
impl UnwindSafe for img
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