diff --git a/crates/bevy_platform/src/hash.rs b/crates/bevy_platform/src/hash.rs index 66814bc583623..812b88cd10572 100644 --- a/crates/bevy_platform/src/hash.rs +++ b/crates/bevy_platform/src/hash.rs @@ -66,6 +66,12 @@ impl Hash for Hashed { } } +impl From for Hashed { + fn from(value: V) -> Self { + Self::new(value) + } +} + impl Deref for Hashed { type Target = V;