Make Resource aware of its own hash (#4187)

* Fix future message handler field name

* Add Resource::hash()

* Move all remaining resource types from core-types to graphene-resources

* Review
This commit is contained in:
Timon
2026-05-31 23:08:01 +00:00
committed by GitHub
parent 78679a5ba2
commit e32ff4b7f0
11 changed files with 96 additions and 92 deletions

View File

@@ -9,10 +9,7 @@ use std::time::Duration;
use text_nodes::FontCache;
use vector_types::vector::style::RenderMode;
pub mod resource {
pub use core_types::resource::*;
pub use graphene_resource::*;
}
pub use graphene_resource as resource;
#[cfg(feature = "wgpu")]
#[derive(Debug, Clone, Hash, PartialEq, Eq, DynAny)]