summaryrefslogtreecommitdiffstats
path: root/native
diff options
context:
space:
mode:
authorLibravatar Malte Veerman <malte.veerman@gmail.com>2020-01-10 14:39:29 +0100
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2020-02-25 13:26:33 +0100
commit1bcfc9a5cce0b30c3ad9983e407c06e237b491f3 (patch)
tree38ef141f99d3267b61a70ce6d6a2efad3755c5c3 /native
parent69c81aa50dc30bc7a05df4393e45bc3d478db8b5 (diff)
downloadiced-1bcfc9a5cce0b30c3ad9983e407c06e237b491f3.tar.gz
iced-1bcfc9a5cce0b30c3ad9983e407c06e237b491f3.tar.bz2
iced-1bcfc9a5cce0b30c3ad9983e407c06e237b491f3.zip
Implemented a texture atlas for images and svgs.
Diffstat (limited to 'native')
-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,