pub trait RenderFeatureSubmitPacketIntoConcrete {
// Required method
fn into_concrete<T: RenderFeatureSubmitPacket>(self) -> Box<T>;
}
Expand description
Provides into_concrete
method to downcast into a concrete type.
Required Methods§
Sourcefn into_concrete<T: RenderFeatureSubmitPacket>(self) -> Box<T>
fn into_concrete<T: RenderFeatureSubmitPacket>(self) -> Box<T>
Downcast Box<dyn RenderFeatureSubmitPacket>
into Box<T>
where T: RenderFeatureSubmitPacket
.
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.