pub trait AExtension: HasAttributes + Sized {
// Provided methods
fn download(self, value: impl IntoAttributeValue) -> Self { ... }
fn href(self, value: impl IntoAttributeValue) -> Self { ... }
fn hreflang(self, value: impl IntoAttributeValue) -> Self { ... }
fn target(self, value: impl IntoAttributeValue) -> Self { ... }
fn type(self, value: impl IntoAttributeValue) -> Self { ... }
fn ping(self, value: impl IntoAttributeValue) -> Self { ... }
fn rel(self, value: impl IntoAttributeValue) -> Self { ... }
}
Provided Methods§
fn download(self, value: impl IntoAttributeValue) -> Self
fn href(self, value: impl IntoAttributeValue) -> Self
fn hreflang(self, value: impl IntoAttributeValue) -> Self
fn target(self, value: impl IntoAttributeValue) -> Self
fn type(self, value: impl IntoAttributeValue) -> Self
fn ping(self, value: impl IntoAttributeValue) -> Self
fn rel(self, value: impl IntoAttributeValue) -> Self
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.