summaryrefslogtreecommitdiffstats
path: root/core/src/image.rs
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/image.rs')
-rw-r--r--core/src/image.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/core/src/image.rs b/core/src/image.rs
index 82ecdd0f..77ff7500 100644
--- a/core/src/image.rs
+++ b/core/src/image.rs
@@ -101,6 +101,12 @@ where
}
}
+impl From<&Handle> for Handle {
+ fn from(value: &Handle) -> Self {
+ value.clone()
+ }
+}
+
impl std::fmt::Debug for Handle {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
match self {