summaryrefslogtreecommitdiffstats
path: root/native/src
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón <hector0193@gmail.com>2020-02-28 15:17:16 +0100
committerLibravatar GitHub <noreply@github.com>2020-02-28 15:17:16 +0100
commitbab7dbcaef5d637e6452ef814b78595d9004971c (patch)
treedb82ee28634d499749816f69eaac4f303d088c14 /native/src
parent69c81aa50dc30bc7a05df4393e45bc3d478db8b5 (diff)
parent88d4cd097044077127e1b3aa8fcb04afed185491 (diff)
downloadiced-bab7dbcaef5d637e6452ef814b78595d9004971c.tar.gz
iced-bab7dbcaef5d637e6452ef814b78595d9004971c.tar.bz2
iced-bab7dbcaef5d637e6452ef814b78595d9004971c.zip
Merge pull request #154 from Maldela/atlas
Texture atlas
Diffstat (limited to '')
-rw-r--r--native/src/widget/image.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/native/src/widget/image.rs b/native/src/widget/image.rs
index 200401f9..9b92c7f1 100644
--- a/native/src/widget/image.rs
+++ b/native/src/widget/image.rs
@@ -18,7 +18,7 @@ use std::{
/// ```
///
/// <img src="https://github.com/hecrj/iced/blob/9712b319bb7a32848001b96bd84977430f14b623/examples/resources/ferris.png?raw=true" width="300">
-#[derive(Debug)]
+#[derive(Debug, Hash)]
pub struct Image {
handle: Handle,
width: Length,