Trait StructReflectionHelper
pub trait StructReflectionHelper {
// Required method
fn struct_reflection() -> Option<Vec<String>>;
}Expand description
Struct reflection for column names
Required Methods§
fn struct_reflection() -> Option<Vec<String>>
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.
Implementations on Foreign Types§
§impl<T> StructReflectionHelper for Option<T>
impl<T> StructReflectionHelper for Option<T>
fn struct_reflection() -> Option<Vec<String>>
§impl<T> StructReflectionHelper for PhantomData<T>
impl<T> StructReflectionHelper for PhantomData<T>
fn struct_reflection() -> Option<Vec<String>>
§impl<T, const N: usize> StructReflectionHelper for [T; N]where
T: StructReflectionHelper,
impl<T, const N: usize> StructReflectionHelper for [T; N]where
T: StructReflectionHelper,
fn struct_reflection() -> Option<Vec<String>>
Implementors§
impl<T> StructReflectionHelper for IsZeroAuxCols<T>
impl<T> StructReflectionHelper for RangeCols<T>
impl<T> StructReflectionHelper for RangePreprocessedCols<T>
impl<T> StructReflectionHelper for RangeGateCols<T>
impl<T> StructReflectionHelper for VariableRangeCols<T>
impl<T> StructReflectionHelper for XorLookupCols<T>
impl<T> StructReflectionHelper for XorLookupPreprocessedCols<T>
impl<T> StructReflectionHelper for Twhere
T: StructReflection,
Implementation of StructReflectionHelper for any type that implements StructReflection. This bridges the two traits, allowing types with #[derive(StructReflection)] to work in contexts that require StructReflectionHelper.