pub trait MediaMetadataMethods<D>where
    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 as DomTypes>::Window,
        proto: Option<Handle<'_, *mut JSObject>>,
        can_gc: CanGc,
        init: &MediaMetadataInit,
    ) -> Result<Root<Dom<<D as DomTypes>::MediaMetadata>>, Error>;
}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 as DomTypes>::Window, proto: Option<Handle<'_, *mut JSObject>>, can_gc: CanGc, init: &MediaMetadataInit, ) -> Result<Root<Dom<<D as DomTypes>::MediaMetadata>>, Error>
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.