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 { ... }
}
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
Object Safety§
This trait is not object safe.