Struct html_sys::HTMLAudioElement
source · pub struct HTMLAudioElement { /* private fields */ }
Methods from Deref<Target = HTMLMediaElement>§
pub fn src(&self) -> String
pub fn crossOrigin(&self) -> String
pub fn preload(&self) -> String
pub fn currentTime(&self) -> f64
pub fn defaultPlaybackRate(&self) -> f64
pub fn playbackRate(&self) -> f64
pub fn autoplay(&self) -> bool
pub fn loop_(&self) -> bool
pub fn controls(&self) -> bool
pub fn volume(&self) -> f64
pub fn muted(&self) -> bool
pub fn defaultMuted(&self) -> bool
Methods from Deref<Target = HTMLElement>§
Methods from Deref<Target = Element>§
Methods from Deref<Target = Node>§
Trait Implementations§
source§impl Clone for HTMLAudioElement
impl Clone for HTMLAudioElement
source§fn clone(&self) -> HTMLAudioElement
fn clone(&self) -> HTMLAudioElement
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for HTMLAudioElement
impl Debug for HTMLAudioElement
source§impl Default for HTMLAudioElement
impl Default for HTMLAudioElement
source§fn default() -> HTMLAudioElement
fn default() -> HTMLAudioElement
Returns the “default value” for a type. Read more
source§impl Deref for HTMLAudioElement
impl Deref for HTMLAudioElement
source§impl PartialEq<HTMLAudioElement> for HTMLAudioElement
impl PartialEq<HTMLAudioElement> for HTMLAudioElement
source§fn eq(&self, other: &HTMLAudioElement) -> bool
fn eq(&self, other: &HTMLAudioElement) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.