dioxus_lib::prelude

Trait ScriptExtension

source
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 fetchpriority(self, value: impl IntoAttributeValue) -> Self { ... }
    fn referrerpolicy(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 { ... }
}

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 fetchpriority(self, value: impl IntoAttributeValue) -> Self

source

fn referrerpolicy(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§