pub trait StructReflectionHelper {
// Required method
fn struct_reflection() -> Option<Vec<String>>;
}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".
Implementations on Foreign Types§
Source§impl<T: StructReflectionHelper, const N: usize> StructReflectionHelper for [T; N]
impl<T: StructReflectionHelper, const N: usize> StructReflectionHelper for [T; N]
Source§impl<T> StructReflectionHelper for Option<T>
impl<T> StructReflectionHelper for Option<T>
Source§impl<T> StructReflectionHelper for PhantomData<T>
impl<T> StructReflectionHelper for PhantomData<T>
Implementors§
impl<T: StructReflection> StructReflectionHelper for T
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.