pub enum ChannelPixelLayoutDataType {
Uint8,
Int8,
Uint16,
Int16,
Uint32,
Int32,
Float32,
Float64,
// some variants omitted
}
Expand description
The ChannelPixelLayoutDataType
enum.
This API requires the following crate features to be activated: ChannelPixelLayoutDataType
Variants
Uint8
Int8
Uint16
Int16
Uint32
Int32
Float32
Float64
Implementations
sourceimpl ChannelPixelLayoutDataType
impl ChannelPixelLayoutDataType
pub fn from_js_value(obj: &JsValue) -> Option<ChannelPixelLayoutDataType>
Trait Implementations
sourceimpl Clone for ChannelPixelLayoutDataType
impl Clone for ChannelPixelLayoutDataType
sourcefn clone(&self) -> ChannelPixelLayoutDataType
fn clone(&self) -> ChannelPixelLayoutDataType
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 ChannelPixelLayoutDataType
impl Debug for ChannelPixelLayoutDataType
sourceimpl From<ChannelPixelLayoutDataType> for JsValue
impl From<ChannelPixelLayoutDataType> for JsValue
sourcefn from(obj: ChannelPixelLayoutDataType) -> JsValue
fn from(obj: ChannelPixelLayoutDataType) -> JsValue
Converts to this type from the input type.
sourceimpl WasmDescribe for ChannelPixelLayoutDataType
impl WasmDescribe for ChannelPixelLayoutDataType
impl Copy for ChannelPixelLayoutDataType
impl Eq for ChannelPixelLayoutDataType
impl StructuralEq 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
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