Trait HtmlIframeAttributes

Source
pub trait HtmlIframeAttributes: SetAttribute + Sized {
    // Provided methods
    fn allow(self, value: impl Into<StringAttribute>) -> Self { ... }
    fn allowfullscreen(self, value: impl Into<MaybeDyn<bool>>) -> Self { ... }
    fn allowpaymentrequest(self, value: impl Into<MaybeDyn<bool>>) -> Self { ... }
    fn height(self, value: impl Into<StringAttribute>) -> Self { ... }
    fn loading(self, value: impl Into<StringAttribute>) -> Self { ... }
    fn name(self, value: impl Into<StringAttribute>) -> Self { ... }
    fn referrerpolicy(self, value: impl Into<StringAttribute>) -> Self { ... }
    fn sandbox(self, value: impl Into<MaybeDyn<bool>>) -> Self { ... }
    fn src(self, value: impl Into<StringAttribute>) -> Self { ... }
    fn srcdoc(self, value: impl Into<StringAttribute>) -> Self { ... }
    fn width(self, value: impl Into<StringAttribute>) -> Self { ... }
}
Expand description

Trait that provides attributes for the <iframe> HTML element.

Provided Methods§

Source

fn allow(self, value: impl Into<StringAttribute>) -> Self

Source

fn allowfullscreen(self, value: impl Into<MaybeDyn<bool>>) -> Self

Source

fn allowpaymentrequest(self, value: impl Into<MaybeDyn<bool>>) -> Self

Source

fn height(self, value: impl Into<StringAttribute>) -> Self

Source

fn loading(self, value: impl Into<StringAttribute>) -> Self

Source

fn name(self, value: impl Into<StringAttribute>) -> Self

Source

fn referrerpolicy(self, value: impl Into<StringAttribute>) -> Self

Source

fn sandbox(self, value: impl Into<MaybeDyn<bool>>) -> Self

Source

fn src(self, value: impl Into<StringAttribute>) -> Self

Source

fn srcdoc(self, value: impl Into<StringAttribute>) -> Self

Source

fn width(self, value: impl Into<StringAttribute>) -> 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.

Implementors§