pub trait ScriptExtension: Sized + HasAttributes {
    // Provided methods
    fn crossorigin(self, value: impl IntoAttributeValue) -> Self { ... }
    fn defer(self, value: impl IntoAttributeValue) -> Self { ... }
    fn integrity(self, value: impl IntoAttributeValue) -> Self { ... }
    fn nomodule(self, value: impl IntoAttributeValue) -> Self { ... }
    fn nonce(self, value: impl IntoAttributeValue) -> Self { ... }
    fn src(self, value: impl IntoAttributeValue) -> Self { ... }
    fn text(self, value: impl IntoAttributeValue) -> Self { ... }
    fn async(self, value: impl IntoAttributeValue) -> Self { ... }
    fn type(self, value: impl IntoAttributeValue) -> Self { ... }
    fn script(self, value: impl IntoAttributeValue) -> Self { ... }
}
Available on crate feature html only.

Provided Methods§

source

fn crossorigin(self, value: impl IntoAttributeValue) -> Self

source

fn defer(self, value: impl IntoAttributeValue) -> Self

source

fn integrity(self, value: impl IntoAttributeValue) -> Self

source

fn nomodule(self, value: impl IntoAttributeValue) -> Self

source

fn nonce(self, value: impl IntoAttributeValue) -> Self

source

fn src(self, value: impl IntoAttributeValue) -> Self

source

fn text(self, value: impl IntoAttributeValue) -> Self

source

fn async(self, value: impl IntoAttributeValue) -> Self

source

fn type(self, value: impl IntoAttributeValue) -> Self

source

fn script(self, value: impl IntoAttributeValue) -> Self

Object Safety§

This trait is not object safe.

Implementors§