質問編集履歴
1
欠けていたコードを補った
title
CHANGED
File without changes
|
body
CHANGED
@@ -7,6 +7,8 @@
|
|
7
7
|
|
8
8
|
## Rust 側のコード
|
9
9
|
```rust
|
10
|
+
use wasm_bindgen::prelude::*;
|
11
|
+
|
10
12
|
#[derive(Clone)]
|
11
13
|
pub struct Data {
|
12
14
|
pub x: Vec<f32>,
|