Enum web_sys::MediaStreamTrackState
source · pub enum MediaStreamTrackState {
Live,
Ended,
// some variants omitted
}
Variants§
Implementations§
source§impl MediaStreamTrackState
impl MediaStreamTrackState
pub fn from_js_value(obj: &JsValue) -> Option<MediaStreamTrackState>
Trait Implementations§
source§impl Clone for MediaStreamTrackState
impl Clone for MediaStreamTrackState
source§fn clone(&self) -> MediaStreamTrackState
fn clone(&self) -> MediaStreamTrackState
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 MediaStreamTrackState
impl Debug for MediaStreamTrackState
source§impl From<MediaStreamTrackState> for JsValue
impl From<MediaStreamTrackState> for JsValue
source§fn from(obj: MediaStreamTrackState) -> JsValue
fn from(obj: MediaStreamTrackState) -> JsValue
Converts to this type from the input type.
source§impl FromWasmAbi for MediaStreamTrackState
impl FromWasmAbi for MediaStreamTrackState
source§impl IntoWasmAbi for MediaStreamTrackState
impl IntoWasmAbi for MediaStreamTrackState
source§impl PartialEq<MediaStreamTrackState> for MediaStreamTrackState
impl PartialEq<MediaStreamTrackState> for MediaStreamTrackState
source§fn eq(&self, other: &MediaStreamTrackState) -> bool
fn eq(&self, other: &MediaStreamTrackState) -> bool
impl Copy for MediaStreamTrackState
impl StructuralPartialEq for MediaStreamTrackState
Auto Trait Implementations§
impl RefUnwindSafe for MediaStreamTrackState
impl Send for MediaStreamTrackState
impl Sync for MediaStreamTrackState
impl Unpin for MediaStreamTrackState
impl UnwindSafe for MediaStreamTrackState
Blanket Implementations§
source§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::Abi
source§fn return_abi(self, extra: &mut dyn Stack) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self, extra: &mut dyn Stack) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi
, except that it may throw and never
return in the case of Err
. Read more