pub trait RenderFeature {
// Required methods
fn set_feature_index(index: RenderFeatureIndex);
fn feature_index() -> RenderFeatureIndex;
fn feature_debug_name() -> &'static str;
fn feature_debug_constants() -> &'static RenderFeatureDebugConstants;
}
Required Methods§
fn set_feature_index(index: RenderFeatureIndex)
fn feature_index() -> RenderFeatureIndex
fn feature_debug_name() -> &'static str
fn feature_debug_constants() -> &'static RenderFeatureDebugConstants
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.