pub trait DerivedDescriptor<F: Format>:
'static
+ Send
+ Sync
+ Sized {
type Format: Format<Kind = F::Kind>;
// Required method
fn update(
&self,
data: &mut Self::Format,
parent: &F,
usages: &[&<F::Kind as Kind>::UsageDescriptor],
);
}Expand description
Allows a format to act as a maintained “copy” of a parent by synchronizing its contents with those of the parent.
Required Associated Types§
Required Methods§
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.