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§
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
Object Safety§
This trait is not object safe.