pub enum PixelType {
UnsignedByte = 5_121,
UnsignedShort4444 = 32_819,
UnsignedShort5551 = 32_820,
UnsignedShort565 = 33_635,
Float = 5_126,
}
Variants§
UnsignedByte = 5_121
UnsignedShort4444 = 32_819
UnsignedShort5551 = 32_820
UnsignedShort565 = 33_635
Float = 5_126
Trait Implementations§
Source§impl FromWasmAbi for PixelType
impl FromWasmAbi for PixelType
Source§impl IntoWasmAbi for PixelType
impl IntoWasmAbi for PixelType
Source§impl OptionFromWasmAbi for PixelType
impl OptionFromWasmAbi for PixelType
Source§impl OptionIntoWasmAbi for PixelType
impl OptionIntoWasmAbi for PixelType
Source§impl TryFromJsValue for PixelType
impl TryFromJsValue for PixelType
Source§impl VectorFromWasmAbi for PixelType
impl VectorFromWasmAbi for PixelType
Source§impl VectorIntoWasmAbi for PixelType
impl VectorIntoWasmAbi for PixelType
impl Copy for PixelType
Auto Trait Implementations§
impl Freeze for PixelType
impl RefUnwindSafe for PixelType
impl Send for PixelType
impl Sync for PixelType
impl Unpin for PixelType
impl UnwindSafe for PixelType
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
.