Struct html_sys::HTMLVideoElement
source · pub struct HTMLVideoElement { /* private fields */ }
Implementations§
source§impl HTMLVideoElement
impl HTMLVideoElement
pub fn width(&self) -> u64
pub fn set_width(&mut self, value: u64)
pub fn height(&self) -> u64
pub fn set_height(&mut self, value: u64)
pub fn poster(&self) -> String
pub fn set_poster(&mut self, value: String)
pub fn playsInline(&self) -> bool
pub fn set_playsInline(&mut self, value: bool)
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 HTMLVideoElement
impl Clone for HTMLVideoElement
source§fn clone(&self) -> HTMLVideoElement
fn clone(&self) -> HTMLVideoElement
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 HTMLVideoElement
impl Debug for HTMLVideoElement
source§impl Default for HTMLVideoElement
impl Default for HTMLVideoElement
source§fn default() -> HTMLVideoElement
fn default() -> HTMLVideoElement
Returns the “default value” for a type. Read more
source§impl Deref for HTMLVideoElement
impl Deref for HTMLVideoElement
source§impl PartialEq<HTMLVideoElement> for HTMLVideoElement
impl PartialEq<HTMLVideoElement> for HTMLVideoElement
source§fn eq(&self, other: &HTMLVideoElement) -> bool
fn eq(&self, other: &HTMLVideoElement) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.