pub(crate) trait MediaMetadataMethods<D: DomTypes> {
    // Required methods
    fn Title(&self) -> DOMString;
    fn SetTitle(&self, value: DOMString);
    fn Artist(&self) -> DOMString;
    fn SetArtist(&self, value: DOMString);
    fn Album(&self) -> DOMString;
    fn SetAlbum(&self, value: DOMString);
    fn Constructor(
        global: &D::Window,
        proto: Option<HandleObject<'_>>,
        can_gc: CanGc,
        init: &MediaMetadataInit,
    ) -> Fallible<DomRoot<D::MediaMetadata>>;
}

Required Methods§

Source

fn Title(&self) -> DOMString

Source

fn SetTitle(&self, value: DOMString)

Source

fn Artist(&self) -> DOMString

Source

fn SetArtist(&self, value: DOMString)

Source

fn Album(&self) -> DOMString

Source

fn SetAlbum(&self, value: DOMString)

Source

fn Constructor( global: &D::Window, proto: Option<HandleObject<'_>>, can_gc: CanGc, init: &MediaMetadataInit, ) -> Fallible<DomRoot<D::MediaMetadata>>

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§