dioxus_lib::prelude

Trait AudioExtension

source
pub trait AudioExtension: Sized + HasAttributes {
    // Provided methods
    fn autoplay(self, value: impl IntoAttributeValue) -> Self { ... }
    fn controls(self, value: impl IntoAttributeValue) -> Self { ... }
    fn crossorigin(self, value: impl IntoAttributeValue) -> Self { ... }
    fn muted(self, value: impl IntoAttributeValue) -> Self { ... }
    fn preload(self, value: impl IntoAttributeValue) -> Self { ... }
    fn src(self, value: impl IntoAttributeValue) -> Self { ... }
    fn loop(self, value: impl IntoAttributeValue) -> Self { ... }
}

Provided Methods§

source

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

source

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

source

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

source

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

source

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

source

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

source

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

Object Safety§

This trait is not object safe.

Implementors§