Enum web_sys::VideoMatrixCoefficients
source · [−]pub enum VideoMatrixCoefficients {
Rgb,
Bt709,
Bt470bg,
Smpte170m,
// some variants omitted
}
Expand description
The VideoMatrixCoefficients
enum.
This API requires the following crate features to be activated: VideoMatrixCoefficients
This API is unstable and requires --cfg=web_sys_unstable_apis
to be activated, as
described in the wasm-bindgen
guide
Variants
Rgb
Bt709
Bt470bg
Smpte170m
Implementations
sourceimpl VideoMatrixCoefficients
impl VideoMatrixCoefficients
pub fn from_js_value(obj: &JsValue) -> Option<VideoMatrixCoefficients>
Trait Implementations
sourceimpl Clone for VideoMatrixCoefficients
impl Clone for VideoMatrixCoefficients
sourcefn clone(&self) -> VideoMatrixCoefficients
fn clone(&self) -> VideoMatrixCoefficients
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for VideoMatrixCoefficients
impl Debug for VideoMatrixCoefficients
sourceimpl From<VideoMatrixCoefficients> for JsValue
impl From<VideoMatrixCoefficients> for JsValue
sourcefn from(obj: VideoMatrixCoefficients) -> JsValue
fn from(obj: VideoMatrixCoefficients) -> JsValue
Converts to this type from the input type.
sourceimpl FromWasmAbi for VideoMatrixCoefficients
impl FromWasmAbi for VideoMatrixCoefficients
sourceimpl IntoWasmAbi for VideoMatrixCoefficients
impl IntoWasmAbi for VideoMatrixCoefficients
sourceimpl WasmDescribe for VideoMatrixCoefficients
impl WasmDescribe for VideoMatrixCoefficients
impl Copy for VideoMatrixCoefficients
impl Eq for VideoMatrixCoefficients
impl StructuralEq for VideoMatrixCoefficients
impl StructuralPartialEq for VideoMatrixCoefficients
Auto Trait Implementations
impl RefUnwindSafe for VideoMatrixCoefficients
impl Send for VideoMatrixCoefficients
impl Sync for VideoMatrixCoefficients
impl Unpin for VideoMatrixCoefficients
impl UnwindSafe for VideoMatrixCoefficients
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ReturnWasmAbi for T where
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for T where
T: IntoWasmAbi,
type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as IntoWasmAbi::Abi
sourcefn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as IntoWasmAbi::into_abi
, except that it may throw and never
return in the case of Err
. Read more