pub trait LinkExtension: HasAttributes + Sized {
Show 14 methods
// Provided methods
fn crossorigin(self, value: impl IntoAttributeValue) -> Self { ... }
fn href(self, value: impl IntoAttributeValue) -> Self { ... }
fn hreflang(self, value: impl IntoAttributeValue) -> Self { ... }
fn media(self, value: impl IntoAttributeValue) -> Self { ... }
fn rel(self, value: impl IntoAttributeValue) -> Self { ... }
fn sizes(self, value: impl IntoAttributeValue) -> Self { ... }
fn title(self, value: impl IntoAttributeValue) -> Self { ... }
fn type(self, value: impl IntoAttributeValue) -> Self { ... }
fn integrity(self, value: impl IntoAttributeValue) -> Self { ... }
fn disabled(self, value: impl IntoAttributeValue) -> Self { ... }
fn referrerpolicy(self, value: impl IntoAttributeValue) -> Self { ... }
fn fetchpriority(self, value: impl IntoAttributeValue) -> Self { ... }
fn blocking(self, value: impl IntoAttributeValue) -> Self { ... }
fn as(self, value: impl IntoAttributeValue) -> Self { ... }
}
Provided Methods§
fn crossorigin(self, value: impl IntoAttributeValue) -> Self
fn href(self, value: impl IntoAttributeValue) -> Self
fn hreflang(self, value: impl IntoAttributeValue) -> Self
fn media(self, value: impl IntoAttributeValue) -> Self
fn rel(self, value: impl IntoAttributeValue) -> Self
fn sizes(self, value: impl IntoAttributeValue) -> Self
fn title(self, value: impl IntoAttributeValue) -> Self
fn type(self, value: impl IntoAttributeValue) -> Self
fn integrity(self, value: impl IntoAttributeValue) -> Self
fn disabled(self, value: impl IntoAttributeValue) -> Self
fn referrerpolicy(self, value: impl IntoAttributeValue) -> Self
fn fetchpriority(self, value: impl IntoAttributeValue) -> Self
fn blocking(self, value: impl IntoAttributeValue) -> Self
fn as(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.