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