diff options
author | 2021-07-20 21:44:33 +0700 | |
---|---|---|
committer | 2021-07-20 21:44:33 +0700 | |
commit | 8e29709b69ec0eae211887c8c6d91558175997b5 (patch) | |
tree | c6fe2b40d4be34867e61b9061d27ae44916ad4ab /native/src/program.rs | |
parent | a6dbaf0f5fd3590a8cfe92f924184c5d78e00152 (diff) | |
parent | 82db3c78b6cfa2cc55ece6ffa46811bfb5195f60 (diff) | |
download | iced-8e29709b69ec0eae211887c8c6d91558175997b5.tar.gz iced-8e29709b69ec0eae211887c8c6d91558175997b5.tar.bz2 iced-8e29709b69ec0eae211887c8c6d91558175997b5.zip |
Merge pull request #945 from derezzedex/menu
feat: add menus
Diffstat (limited to 'native/src/program.rs')
-rw-r--r-- | native/src/program.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/native/src/program.rs b/native/src/program.rs index 066c29d8..75fab094 100644 --- a/native/src/program.rs +++ b/native/src/program.rs @@ -11,7 +11,7 @@ pub trait Program: Sized { type Renderer: Renderer; /// The type of __messages__ your [`Program`] will produce. - type Message: std::fmt::Debug + Send; + type Message: std::fmt::Debug + Clone + Send; /// The type of [`Clipboard`] your [`Program`] will use. type Clipboard: Clipboard; |