Trait HtmlAreaAttributes
pub trait HtmlAreaAttributes: Sized + SetAttribute {
// Provided methods
fn alt(self, value: impl Into<MaybeDyn<Option<Cow<'static, str>>>>) -> Self { ... }
fn coords(
self,
value: impl Into<MaybeDyn<Option<Cow<'static, str>>>>,
) -> Self { ... }
fn download(
self,
value: impl Into<MaybeDyn<Option<Cow<'static, str>>>>,
) -> Self { ... }
fn href(self, value: impl Into<MaybeDyn<Option<Cow<'static, str>>>>) -> Self { ... }
fn hreflang(
self,
value: impl Into<MaybeDyn<Option<Cow<'static, str>>>>,
) -> Self { ... }
fn media(
self,
value: impl Into<MaybeDyn<Option<Cow<'static, str>>>>,
) -> Self { ... }
fn referrerpolicy(
self,
value: impl Into<MaybeDyn<Option<Cow<'static, str>>>>,
) -> Self { ... }
fn ping(self, value: impl Into<MaybeDyn<Option<Cow<'static, str>>>>) -> Self { ... }
fn rel(self, value: impl Into<MaybeDyn<Option<Cow<'static, str>>>>) -> Self { ... }
fn shape(
self,
value: impl Into<MaybeDyn<Option<Cow<'static, str>>>>,
) -> Self { ... }
fn target(
self,
value: impl Into<MaybeDyn<Option<Cow<'static, str>>>>,
) -> Self { ... }
fn type(self, value: impl Into<MaybeDyn<Option<Cow<'static, str>>>>) -> Self { ... }
}
Expand description
Trait that provides attributes for the <area>
HTML element.
Provided Methods§
fn alt(self, value: impl Into<MaybeDyn<Option<Cow<'static, str>>>>) -> Self
fn coords(self, value: impl Into<MaybeDyn<Option<Cow<'static, str>>>>) -> Self
fn download(self, value: impl Into<MaybeDyn<Option<Cow<'static, str>>>>) -> Self
fn href(self, value: impl Into<MaybeDyn<Option<Cow<'static, str>>>>) -> Self
fn hreflang(self, value: impl Into<MaybeDyn<Option<Cow<'static, str>>>>) -> Self
fn media(self, value: impl Into<MaybeDyn<Option<Cow<'static, str>>>>) -> Self
fn referrerpolicy( self, value: impl Into<MaybeDyn<Option<Cow<'static, str>>>>, ) -> Self
fn ping(self, value: impl Into<MaybeDyn<Option<Cow<'static, str>>>>) -> Self
fn rel(self, value: impl Into<MaybeDyn<Option<Cow<'static, str>>>>) -> Self
fn shape(self, value: impl Into<MaybeDyn<Option<Cow<'static, str>>>>) -> Self
fn target(self, value: impl Into<MaybeDyn<Option<Cow<'static, str>>>>) -> Self
fn type(self, value: impl Into<MaybeDyn<Option<Cow<'static, str>>>>) -> 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.