pub trait ResourceType:
Debug
+ Clone
+ PartialEq
+ Serialize
+ for<'de> Deserialize<'de>
+ Sealed {
type Id: ResourceId;
}Expand description
A resource type.
This trait cannot be implemented outside of this crate.
Required Associated Types§
type Id: ResourceId
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.