Reintroduce generic Message type for canvas::Program
As it is useful to make the `Message` completely free in many implementations.
This commit is contained in:
parent
d7100fd259
commit
32fd8dadda
10 changed files with 55 additions and 68 deletions
|
|
@ -394,8 +394,7 @@ mod grid {
|
|||
}
|
||||
}
|
||||
|
||||
impl canvas::Program for Grid {
|
||||
type Message = Message;
|
||||
impl canvas::Program<Message> for Grid {
|
||||
type State = Interaction;
|
||||
|
||||
fn update(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue