Skip to main content

RenderFeatureViewSubmitPacketIntoConcrete

Trait RenderFeatureViewSubmitPacketIntoConcrete 

Source
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§

Source

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".

Implementations on Foreign Types§

Source§

impl RenderFeatureViewSubmitPacketIntoConcrete for Box<dyn RenderFeatureViewSubmitPacket>

Implementors§