pub trait AsCanUpdate: Sized + UpdateStrategy {
// Required method
fn as_can_update(self) -> CanUpdate<Self>;
}
Expand description
This trait converts the given UpdateStrategy into the corresponding CanUpdate strategy representing the ability to update the asset using the provided strategy.
Required Methods§
fn as_can_update(self) -> CanUpdate<Self>
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.