StructReflectionHelper

Trait StructReflectionHelper 

Source
pub trait StructReflectionHelper {
    // Required method
    fn struct_reflection() -> Option<Vec<String>>;
}

Required Methods§

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§

Source§

impl<T> StructReflectionHelper for Option<T>

Source§

impl<T> StructReflectionHelper for PhantomData<T>

Source§

impl<T: StructReflectionHelper, const N: usize> StructReflectionHelper for [T; N]

Implementors§

Source§

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.