Trait VideoExtension

Source
pub trait VideoExtension: HasAttributes + Sized {
    // Provided methods
    fn autoplay(self, value: impl IntoAttributeValue) -> Self { ... }
    fn controls(self, value: impl IntoAttributeValue) -> Self { ... }
    fn crossorigin(self, value: impl IntoAttributeValue) -> Self { ... }
    fn height(self, value: impl IntoAttributeValue) -> Self { ... }
    fn loop(self, value: impl IntoAttributeValue) -> Self { ... }
    fn muted(self, value: impl IntoAttributeValue) -> Self { ... }
    fn preload(self, value: impl IntoAttributeValue) -> Self { ... }
    fn playsinline(self, value: impl IntoAttributeValue) -> Self { ... }
    fn poster(self, value: impl IntoAttributeValue) -> Self { ... }
    fn src(self, value: impl IntoAttributeValue) -> Self { ... }
    fn width(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 height(self, value: impl IntoAttributeValue) -> Self

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

fn width(self, value: impl IntoAttributeValue) -> 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§