pub enum PenState {
Up,
Down,
Erase,
}Variants§
Trait Implementations§
Source§impl FromWasmAbi for PenState
impl FromWasmAbi for PenState
Source§impl IntoWasmAbi for PenState
impl IntoWasmAbi for PenState
Source§impl OptionFromWasmAbi for PenState
impl OptionFromWasmAbi for PenState
Source§impl OptionIntoWasmAbi for PenState
impl OptionIntoWasmAbi for PenState
Source§impl TryFromJsValue for PenState
impl TryFromJsValue for PenState
Source§impl VectorFromWasmAbi for PenState
impl VectorFromWasmAbi for PenState
Source§impl VectorIntoWasmAbi for PenState
impl VectorIntoWasmAbi for PenState
impl Copy for PenState
impl StructuralPartialEq for PenState
Auto Trait Implementations§
impl Freeze for PenState
impl RefUnwindSafe for PenState
impl Send for PenState
impl Sync for PenState
impl Unpin for PenState
impl UnwindSafe for PenState
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::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.