pub trait ImgExtension: Sized + HasAttributes {
    // Provided methods
    fn alt(self, value: impl IntoAttributeValue) -> Self { ... }
    fn crossorigin(self, value: impl IntoAttributeValue) -> Self { ... }
    fn decoding(self, value: impl IntoAttributeValue) -> Self { ... }
    fn height(self, value: impl IntoAttributeValue) -> Self { ... }
    fn ismap(self, value: impl IntoAttributeValue) -> Self { ... }
    fn loading(self, value: impl IntoAttributeValue) -> Self { ... }
    fn src(self, value: impl IntoAttributeValue) -> Self { ... }
    fn srcset(self, value: impl IntoAttributeValue) -> Self { ... }
    fn usemap(self, value: impl IntoAttributeValue) -> Self { ... }
    fn width(self, value: impl IntoAttributeValue) -> Self { ... }
    fn referrerpolicy(self, value: impl IntoAttributeValue) -> Self { ... }
}
Available on crate feature html only.

Provided Methods§

source

fn alt(self, value: impl IntoAttributeValue) -> Self

source

fn crossorigin(self, value: impl IntoAttributeValue) -> Self

source

fn decoding(self, value: impl IntoAttributeValue) -> Self

source

fn height(self, value: impl IntoAttributeValue) -> Self

source

fn ismap(self, value: impl IntoAttributeValue) -> Self

source

fn loading(self, value: impl IntoAttributeValue) -> Self

source

fn src(self, value: impl IntoAttributeValue) -> Self

source

fn srcset(self, value: impl IntoAttributeValue) -> Self

source

fn usemap(self, value: impl IntoAttributeValue) -> Self

source

fn width(self, value: impl IntoAttributeValue) -> Self

source

fn referrerpolicy(self, value: impl IntoAttributeValue) -> Self

Object Safety§

This trait is not object safe.

Implementors§