#[repr(u8)]pub enum Cell {
None = 0,
Black = 1,
White = 2,
}
Variants§
Trait Implementations§
Source§impl FromWasmAbi for Cell
impl FromWasmAbi for Cell
Source§impl IntoWasmAbi for Cell
impl IntoWasmAbi for Cell
Source§impl OptionFromWasmAbi for Cell
impl OptionFromWasmAbi for Cell
Source§impl OptionIntoWasmAbi for Cell
impl OptionIntoWasmAbi for Cell
Source§impl TryFromJsValue for Cell
impl TryFromJsValue for Cell
Source§impl VectorFromWasmAbi for Cell
impl VectorFromWasmAbi for Cell
Source§impl VectorIntoWasmAbi for Cell
impl VectorIntoWasmAbi for Cell
impl Copy for Cell
impl Eq for Cell
impl StructuralPartialEq for Cell
Auto Trait Implementations§
impl Freeze for Cell
impl RefUnwindSafe for Cell
impl Send for Cell
impl Sync for Cell
impl Unpin for Cell
impl UnwindSafe for Cell
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
.