pub enum MazeCellTypeWasm {
Empty,
Start,
Finish,
Wall,
}Variants§
Trait Implementations§
Source§impl From<MazeCellTypeWasm> for JsValue
impl From<MazeCellTypeWasm> for JsValue
Source§fn from(value: MazeCellTypeWasm) -> Self
fn from(value: MazeCellTypeWasm) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for MazeCellTypeWasm
impl FromWasmAbi for MazeCellTypeWasm
Source§impl IntoWasmAbi for MazeCellTypeWasm
impl IntoWasmAbi for MazeCellTypeWasm
Source§impl OptionFromWasmAbi for MazeCellTypeWasm
impl OptionFromWasmAbi for MazeCellTypeWasm
Source§impl OptionIntoWasmAbi for MazeCellTypeWasm
impl OptionIntoWasmAbi for MazeCellTypeWasm
Source§impl TryFromJsValue for MazeCellTypeWasm
impl TryFromJsValue for MazeCellTypeWasm
Source§fn try_from_js_value(
value: JsValue,
) -> Result<Self, <MazeCellTypeWasm as TryFromJsValue>::Error>
fn try_from_js_value( value: JsValue, ) -> Result<Self, <MazeCellTypeWasm as TryFromJsValue>::Error>
Performs the conversion.
Source§impl VectorFromWasmAbi for MazeCellTypeWasm
impl VectorFromWasmAbi for MazeCellTypeWasm
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[MazeCellTypeWasm]>
Source§impl VectorIntoJsValue for MazeCellTypeWasm
impl VectorIntoJsValue for MazeCellTypeWasm
fn vector_into_jsvalue(vector: Box<[MazeCellTypeWasm]>) -> JsValue
Source§impl VectorIntoWasmAbi for MazeCellTypeWasm
impl VectorIntoWasmAbi for MazeCellTypeWasm
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[MazeCellTypeWasm]>) -> Self::Abi
Source§impl WasmDescribeVector for MazeCellTypeWasm
impl WasmDescribeVector for MazeCellTypeWasm
Auto Trait Implementations§
impl Freeze for MazeCellTypeWasm
impl RefUnwindSafe for MazeCellTypeWasm
impl Send for MazeCellTypeWasm
impl Sync for MazeCellTypeWasm
impl Unpin for MazeCellTypeWasm
impl UnwindSafe for MazeCellTypeWasm
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> 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.