Enum web_sys::ImageBitmapFormat
source · pub enum ImageBitmapFormat {
Show 13 variants
Rgba32,
Bgra32,
Rgb24,
Bgr24,
Gray8,
Yuv444p,
Yuv422p,
Yuv420p,
Yuv420spNv12,
Yuv420spNv21,
Hsv,
Lab,
Depth,
// some variants omitted
}
Variants§
Implementations§
source§impl ImageBitmapFormat
impl ImageBitmapFormat
pub fn from_js_value(obj: &JsValue) -> Option<ImageBitmapFormat>
Trait Implementations§
source§impl Clone for ImageBitmapFormat
impl Clone for ImageBitmapFormat
source§fn clone(&self) -> ImageBitmapFormat
fn clone(&self) -> ImageBitmapFormat
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 ImageBitmapFormat
impl Debug for ImageBitmapFormat
source§impl From<ImageBitmapFormat> for JsValue
impl From<ImageBitmapFormat> for JsValue
source§fn from(obj: ImageBitmapFormat) -> JsValue
fn from(obj: ImageBitmapFormat) -> JsValue
Converts to this type from the input type.
source§impl FromWasmAbi for ImageBitmapFormat
impl FromWasmAbi for ImageBitmapFormat
source§impl IntoWasmAbi for ImageBitmapFormat
impl IntoWasmAbi for ImageBitmapFormat
source§impl PartialEq<ImageBitmapFormat> for ImageBitmapFormat
impl PartialEq<ImageBitmapFormat> for ImageBitmapFormat
source§fn eq(&self, other: &ImageBitmapFormat) -> bool
fn eq(&self, other: &ImageBitmapFormat) -> bool
impl Copy for ImageBitmapFormat
impl StructuralPartialEq for ImageBitmapFormat
Auto Trait Implementations§
impl RefUnwindSafe for ImageBitmapFormat
impl Send for ImageBitmapFormat
impl Sync for ImageBitmapFormat
impl Unpin for ImageBitmapFormat
impl UnwindSafe for ImageBitmapFormat
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