pub struct WasmImage {
    pub width: u32,
    pub height: u32,
    pub data: ImageData,
}Fields§
§width: u32§height: u32§data: ImageDataTrait Implementations§
Source§impl FromWasmAbi for WasmImage
 
impl FromWasmAbi for WasmImage
Source§impl IntoWasmAbi for WasmImage
 
impl IntoWasmAbi for WasmImage
Source§impl LongRefFromWasmAbi for WasmImage
 
impl LongRefFromWasmAbi for WasmImage
Source§impl OptionFromWasmAbi for WasmImage
 
impl OptionFromWasmAbi for WasmImage
Source§impl OptionIntoWasmAbi for WasmImage
 
impl OptionIntoWasmAbi for WasmImage
Source§impl RefFromWasmAbi for WasmImage
 
impl RefFromWasmAbi for WasmImage
Source§impl RefMutFromWasmAbi for WasmImage
 
impl RefMutFromWasmAbi for WasmImage
Source§impl TryFromJsValue for WasmImage
 
impl TryFromJsValue for WasmImage
Source§impl VectorFromWasmAbi for WasmImage
 
impl VectorFromWasmAbi for WasmImage
Source§impl VectorIntoWasmAbi for WasmImage
 
impl VectorIntoWasmAbi for WasmImage
impl SupportsConstructor for WasmImage
impl SupportsInstanceProperty for WasmImage
impl SupportsStaticProperty for WasmImage
Auto Trait Implementations§
impl Freeze for WasmImage
impl RefUnwindSafe for WasmImage
impl !Send for WasmImage
impl !Sync for WasmImage
impl Unpin for WasmImage
impl UnwindSafe for WasmImage
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> IntoEither for T
 
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
 
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts 
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
 
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts 
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
 
impl<T> Pointable for T
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::AbiSource§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.