pub enum ChannelPixelLayoutDataType {
Uint8,
Int8,
Uint16,
Int16,
Uint32,
Int32,
Float32,
Float64,
// some variants omitted
}
Variants§
Implementations§
source§impl ChannelPixelLayoutDataType
impl ChannelPixelLayoutDataType
pub fn from_js_value(obj: &JsValue) -> Option<ChannelPixelLayoutDataType>
Trait Implementations§
source§impl Clone for ChannelPixelLayoutDataType
impl Clone for ChannelPixelLayoutDataType
source§fn clone(&self) -> ChannelPixelLayoutDataType
fn clone(&self) -> ChannelPixelLayoutDataType
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 ChannelPixelLayoutDataType
impl Debug for ChannelPixelLayoutDataType
source§impl From<ChannelPixelLayoutDataType> for JsValue
impl From<ChannelPixelLayoutDataType> for JsValue
source§fn from(obj: ChannelPixelLayoutDataType) -> JsValue
fn from(obj: ChannelPixelLayoutDataType) -> JsValue
Converts to this type from the input type.
source§impl PartialEq<ChannelPixelLayoutDataType> for ChannelPixelLayoutDataType
impl PartialEq<ChannelPixelLayoutDataType> for ChannelPixelLayoutDataType
source§fn eq(&self, other: &ChannelPixelLayoutDataType) -> bool
fn eq(&self, other: &ChannelPixelLayoutDataType) -> bool
impl Copy for ChannelPixelLayoutDataType
impl StructuralPartialEq for ChannelPixelLayoutDataType
Auto Trait Implementations§
impl RefUnwindSafe for ChannelPixelLayoutDataType
impl Send for ChannelPixelLayoutDataType
impl Sync for ChannelPixelLayoutDataType
impl Unpin for ChannelPixelLayoutDataType
impl UnwindSafe for ChannelPixelLayoutDataType
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