diff options
author | 2024-03-16 19:14:13 +0100 | |
---|---|---|
committer | 2024-03-16 19:14:13 +0100 | |
commit | 28a27f08edccd53e06ad693e63b0a62dae921da5 (patch) | |
tree | d2a2f51ebc9fddd38771abfbd567522396763468 /runtime | |
parent | 0a24611ccdb9402f89c88fd5f567b9d26e3533c2 (diff) | |
download | iced-28a27f08edccd53e06ad693e63b0a62dae921da5.tar.gz iced-28a27f08edccd53e06ad693e63b0a62dae921da5.tar.bz2 iced-28a27f08edccd53e06ad693e63b0a62dae921da5.zip |
Remove `sandbox` by making `application` more generic :tada:
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/src/command.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/runtime/src/command.rs b/runtime/src/command.rs index f70da915..f7a746fe 100644 --- a/runtime/src/command.rs +++ b/runtime/src/command.rs @@ -112,6 +112,12 @@ impl<T> Command<T> { } } +impl<Message> From<()> for Command<Message> { + fn from(_value: ()) -> Self { + Self::none() + } +} + impl<T> fmt::Debug for Command<T> { fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { let Command(command) = self; |