diff options
author | 2024-02-09 23:57:11 +0100 | |
---|---|---|
committer | 2024-02-09 23:57:11 +0100 | |
commit | b535f7ae385658829f57f742eb1cc6f2f40cddf5 (patch) | |
tree | 47da7d68d90308648590aecd53009749968e70b3 /style | |
parent | 4c6ea3cfe2f6023a2f92d8ebfc227f0381c8ac78 (diff) | |
download | iced-b535f7ae385658829f57f742eb1cc6f2f40cddf5.tar.gz iced-b535f7ae385658829f57f742eb1cc6f2f40cddf5.tar.bz2 iced-b535f7ae385658829f57f742eb1cc6f2f40cddf5.zip |
Invalidate `QRCode` cache on `Appearance` change
Diffstat (limited to 'style')
-rw-r--r-- | style/src/qr_code.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/style/src/qr_code.rs b/style/src/qr_code.rs index a024506c..02c4709a 100644 --- a/style/src/qr_code.rs +++ b/style/src/qr_code.rs @@ -2,7 +2,7 @@ use crate::core::Color; /// The appearance of a QR code. -#[derive(Debug, Clone, Copy)] +#[derive(Debug, Clone, Copy, PartialEq)] pub struct Appearance { /// The color of the QR code data cells pub cell: Color, |