Struct web_sys::HtmlVideoElement [−][src]
#[repr(transparent)]pub struct HtmlVideoElement { /* fields omitted */ }
Expand description
The HtmlVideoElement class.
This API requires the following crate features to be activated: HtmlVideoElement
Implementations
Getter for the width field of this object.
This API requires the following crate features to be activated: HtmlVideoElement
Setter for the width field of this object.
This API requires the following crate features to be activated: HtmlVideoElement
Getter for the height field of this object.
This API requires the following crate features to be activated: HtmlVideoElement
Setter for the height field of this object.
This API requires the following crate features to be activated: HtmlVideoElement
Getter for the videoWidth field of this object.
This API requires the following crate features to be activated: HtmlVideoElement
Getter for the videoHeight field of this object.
This API requires the following crate features to be activated: HtmlVideoElement
Getter for the poster field of this object.
This API requires the following crate features to be activated: HtmlVideoElement
Setter for the poster field of this object.
This API requires the following crate features to be activated: HtmlVideoElement
The getVideoPlaybackQuality() method.
This API requires the following crate features to be activated: HtmlVideoElement, VideoPlaybackQuality
Methods from Deref<Target = HtmlMediaElement>
Getter for the error field of this object.
This API requires the following crate features to be activated: HtmlMediaElement, MediaError
Getter for the src field of this object.
This API requires the following crate features to be activated: HtmlMediaElement
Setter for the src field of this object.
This API requires the following crate features to be activated: HtmlMediaElement
Getter for the currentSrc field of this object.
This API requires the following crate features to be activated: HtmlMediaElement
Getter for the srcObject field of this object.
This API requires the following crate features to be activated: HtmlMediaElement, MediaStream
Setter for the srcObject field of this object.
This API requires the following crate features to be activated: HtmlMediaElement, MediaStream
Getter for the crossOrigin field of this object.
This API requires the following crate features to be activated: HtmlMediaElement
Setter for the crossOrigin field of this object.
This API requires the following crate features to be activated: HtmlMediaElement
Getter for the networkState field of this object.
This API requires the following crate features to be activated: HtmlMediaElement
Getter for the preload field of this object.
This API requires the following crate features to be activated: HtmlMediaElement
Setter for the preload field of this object.
This API requires the following crate features to be activated: HtmlMediaElement
Getter for the buffered field of this object.
This API requires the following crate features to be activated: HtmlMediaElement, TimeRanges
Getter for the readyState field of this object.
This API requires the following crate features to be activated: HtmlMediaElement
Getter for the seeking field of this object.
This API requires the following crate features to be activated: HtmlMediaElement
Getter for the currentTime field of this object.
This API requires the following crate features to be activated: HtmlMediaElement
Setter for the currentTime field of this object.
This API requires the following crate features to be activated: HtmlMediaElement
Getter for the duration field of this object.
This API requires the following crate features to be activated: HtmlMediaElement
Getter for the paused field of this object.
This API requires the following crate features to be activated: HtmlMediaElement
Getter for the defaultPlaybackRate field of this object.
This API requires the following crate features to be activated: HtmlMediaElement
Setter for the defaultPlaybackRate field of this object.
This API requires the following crate features to be activated: HtmlMediaElement
Getter for the playbackRate field of this object.
This API requires the following crate features to be activated: HtmlMediaElement
Setter for the playbackRate field of this object.
This API requires the following crate features to be activated: HtmlMediaElement
Getter for the played field of this object.
This API requires the following crate features to be activated: HtmlMediaElement, TimeRanges
Getter for the seekable field of this object.
This API requires the following crate features to be activated: HtmlMediaElement, TimeRanges
Getter for the ended field of this object.
This API requires the following crate features to be activated: HtmlMediaElement
Getter for the autoplay field of this object.
This API requires the following crate features to be activated: HtmlMediaElement
Setter for the autoplay field of this object.
This API requires the following crate features to be activated: HtmlMediaElement
Getter for the loop field of this object.
This API requires the following crate features to be activated: HtmlMediaElement
Setter for the loop field of this object.
This API requires the following crate features to be activated: HtmlMediaElement
Getter for the controls field of this object.
This API requires the following crate features to be activated: HtmlMediaElement
Setter for the controls field of this object.
This API requires the following crate features to be activated: HtmlMediaElement
Getter for the volume field of this object.
This API requires the following crate features to be activated: HtmlMediaElement
Setter for the volume field of this object.
This API requires the following crate features to be activated: HtmlMediaElement
Getter for the muted field of this object.
This API requires the following crate features to be activated: HtmlMediaElement
Setter for the muted field of this object.
This API requires the following crate features to be activated: HtmlMediaElement
Getter for the defaultMuted field of this object.
This API requires the following crate features to be activated: HtmlMediaElement
Setter for the defaultMuted field of this object.
This API requires the following crate features to be activated: HtmlMediaElement
Getter for the audioTracks field of this object.
This API requires the following crate features to be activated: AudioTrackList, HtmlMediaElement
Getter for the videoTracks field of this object.
This API requires the following crate features to be activated: HtmlMediaElement, VideoTrackList
Getter for the textTracks field of this object.
This API requires the following crate features to be activated: HtmlMediaElement, TextTrackList
Getter for the mediaKeys field of this object.
This API requires the following crate features to be activated: HtmlMediaElement, MediaKeys
Getter for the onencrypted field of this object.
This API requires the following crate features to be activated: HtmlMediaElement
Setter for the onencrypted field of this object.
This API requires the following crate features to be activated: HtmlMediaElement
Getter for the onwaitingforkey field of this object.
This API requires the following crate features to be activated: HtmlMediaElement
Setter for the onwaitingforkey field of this object.
This API requires the following crate features to be activated: HtmlMediaElement
The addTextTrack() method.
This API requires the following crate features to be activated: HtmlMediaElement, TextTrack, TextTrackKind
The addTextTrack() method.
This API requires the following crate features to be activated: HtmlMediaElement, TextTrack, TextTrackKind
pub fn add_text_track_with_label_and_language(
&self,
kind: TextTrackKind,
label: &str,
language: &str
) -> TextTrack
pub fn add_text_track_with_label_and_language(
&self,
kind: TextTrackKind,
label: &str,
language: &str
) -> TextTrack
The addTextTrack() method.
This API requires the following crate features to be activated: HtmlMediaElement, TextTrack, TextTrackKind
The canPlayType() method.
This API requires the following crate features to be activated: HtmlMediaElement
The hasSuspendTaint() method.
This API requires the following crate features to be activated: HtmlMediaElement
The load() method.
This API requires the following crate features to be activated: HtmlMediaElement
The seekToNextFrame() method.
This API requires the following crate features to be activated: HtmlMediaElement
The setMediaKeys() method.
This API requires the following crate features to be activated: HtmlMediaElement, MediaKeys
The setVisible() method.
This API requires the following crate features to be activated: HtmlMediaElement
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
type Target = HtmlMediaElement
type Target = HtmlMediaElement
The resulting type after dereferencing.
Dereferences the value.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs a dynamic instanceof check to see whether the JsValue
provided is an instance of this type. Read more
Performs a zero-cost unchecked conversion from a JsValue into an
instance of Self Read more
Performs a zero-cost unchecked conversion from a &JsValue into an
instance of &Self. Read more
Test whether this JS value has a type T. Read more
Performs a dynamic cast (checked at runtime) of this value into the
target type T. Read more
Performs a dynamic cast (checked at runtime) of this value into the
target type T. Read more
Performs a zero-cost unchecked cast into the specified type. Read more
Performs a zero-cost unchecked cast into a reference to the specified type. Read more
Test whether this JS value is an instance of the type T. Read more
Performs a dynamic check to see whether the JsValue provided
is a value of this type. Read more
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
type Abi = <JsValue as RefFromWasmAbi>::Abi
type Abi = <JsValue as RefFromWasmAbi>::Abi
The wasm ABI type references to Self are recovered from.
type Anchor = ManuallyDrop<HtmlVideoElement>
type Anchor = ManuallyDrop<HtmlVideoElement>
The type that holds the reference to Self for the duration of the
invocation of the function that has an &Self parameter. This is
required to ensure that the lifetimes don’t persist beyond one function
call, and so that they remain anonymous. Read more
Recover a Self::Anchor from Self::Abi. Read more
Auto Trait Implementations
impl RefUnwindSafe for HtmlVideoElement
impl !Send for HtmlVideoElement
impl !Sync for HtmlVideoElement
impl Unpin for HtmlVideoElement
impl UnwindSafe for HtmlVideoElement
Blanket Implementations
Mutably borrows from an owned value. Read more
type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as IntoWasmAbi::Abi
Same as IntoWasmAbi::into_abi, except that it may throw and never
return in the case of Err. Read more