pub enum PixelReadFormat {
Alpha = 6_406,
Rgb = 6_407,
Rgba = 6_408,
}
Variants§
Trait Implementations§
Source§impl Clone for PixelReadFormat
impl Clone for PixelReadFormat
Source§fn clone(&self) -> PixelReadFormat
fn clone(&self) -> PixelReadFormat
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PixelReadFormat
impl Debug for PixelReadFormat
Source§impl From<PixelReadFormat> for JsValue
impl From<PixelReadFormat> for JsValue
Source§fn from(value: PixelReadFormat) -> Self
fn from(value: PixelReadFormat) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for PixelReadFormat
impl FromWasmAbi for PixelReadFormat
Source§impl IntoWasmAbi for PixelReadFormat
impl IntoWasmAbi for PixelReadFormat
Source§impl OptionFromWasmAbi for PixelReadFormat
impl OptionFromWasmAbi for PixelReadFormat
Source§impl OptionIntoWasmAbi for PixelReadFormat
impl OptionIntoWasmAbi for PixelReadFormat
Source§impl TryFromJsValue for PixelReadFormat
impl TryFromJsValue for PixelReadFormat
Source§fn try_from_js_value(
value: JsValue,
) -> Result<Self, <PixelReadFormat as TryFromJsValue>::Error>
fn try_from_js_value( value: JsValue, ) -> Result<Self, <PixelReadFormat as TryFromJsValue>::Error>
Performs the conversion.
Source§impl VectorFromWasmAbi for PixelReadFormat
impl VectorFromWasmAbi for PixelReadFormat
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[PixelReadFormat]>
Source§impl VectorIntoJsValue for PixelReadFormat
impl VectorIntoJsValue for PixelReadFormat
fn vector_into_jsvalue(vector: Box<[PixelReadFormat]>) -> JsValue
Source§impl VectorIntoWasmAbi for PixelReadFormat
impl VectorIntoWasmAbi for PixelReadFormat
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[PixelReadFormat]>) -> Self::Abi
Source§impl WasmDescribeVector for PixelReadFormat
impl WasmDescribeVector for PixelReadFormat
impl Copy for PixelReadFormat
Auto Trait Implementations§
impl Freeze for PixelReadFormat
impl RefUnwindSafe for PixelReadFormat
impl Send for PixelReadFormat
impl Sync for PixelReadFormat
impl Unpin for PixelReadFormat
impl UnwindSafe for PixelReadFormat
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
Source§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::Abi
Source§fn 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
.