#[non_exhaustive]pub enum DEBUG_MODE {
Grid = 0,
Axes = 1,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Implementations§
Source§impl DEBUG_MODE
impl DEBUG_MODE
pub fn from_js_value(obj: &JsValue) -> Option<DEBUG_MODE>
Trait Implementations§
Source§impl From<DEBUG_MODE> for JsValue
impl From<DEBUG_MODE> for JsValue
Source§fn from(val: DEBUG_MODE) -> Self
fn from(val: DEBUG_MODE) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for DEBUG_MODE
impl FromWasmAbi for DEBUG_MODE
Source§impl IntoWasmAbi for DEBUG_MODE
impl IntoWasmAbi for DEBUG_MODE
Source§impl OptionFromWasmAbi for DEBUG_MODE
impl OptionFromWasmAbi for DEBUG_MODE
Source§impl OptionIntoWasmAbi for DEBUG_MODE
impl OptionIntoWasmAbi for DEBUG_MODE
Auto Trait Implementations§
impl Freeze for DEBUG_MODE
impl RefUnwindSafe for DEBUG_MODE
impl Send for DEBUG_MODE
impl Sync for DEBUG_MODE
impl Unpin for DEBUG_MODE
impl UnsafeUnpin for DEBUG_MODE
impl UnwindSafe for DEBUG_MODE
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.