chiark
/
gitweb
/
~ianmdlvl
/
otter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd43594
)
traits: Sprinkle another Sync
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Mon, 22 Mar 2021 01:44:50 +0000
(
01:44
+0000)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Mon, 22 Mar 2021 01:44:50 +0000
(
01:44
+0000)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
src/gamestate.rs
patch
|
blob
|
history
diff --git
a/src/gamestate.rs
b/src/gamestate.rs
index 24d61865c5960809dfc2c3f692c8bc67c5a724f3..237e1d6f757fe00bb94ac7e66170976eb47131f2 100644
(file)
--- a/
src/gamestate.rs
+++ b/
src/gamestate.rs
@@
-99,7
+99,7
@@
impl_downcast!(PieceXData);
#[enum_dispatch]
#[dyn_upcast]
-pub trait OutlineTrait: Debug + Send + 'static {
+pub trait OutlineTrait: Debug + S
ync + S
end + 'static {
fn outline_path(&self, scale: f64) -> Result<Html, IE>;
fn surround_path(&self) -> Result<Html, IE> {
self.outline_path(SELECT_SCALE)