pub struct img {
pub attributes: <img as TypedElement>::Attributes,
pub other_attributes: Vec<(String, Option<String>), Global>,
}
Available on crate feature
typed
only.Fields§
§attributes: <img as TypedElement>::Attributes
§other_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,
other_attributes: Vec<(String, Option<String>), Global>
) -> img
fn from_attributes( attributes: <img as TypedElement>::Attributes, other_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