pub(crate) fn from_unit_variant(rtti: Arc<VariantRtti>) -> Self {
        Self {
            inner: Inner::FnUnitVariant(FnUnitVariant { rtti }),
        }
    }
/// Create a function pointer that constructs a empty variant.
Create a function pointer that constructs a empty variant.
Create a function pointer that constructs a empty variant .
pub(crate) fn from_unit_variant(rtti: Arc<VariantRtti>) -> Self {
        Self {
            inner: Inner::FnUnitVariant(FnUnitVariant { rtti }),
        }
    }
pub ( crate ) fn from_unit_variant ( rtti : Arc < VariantRtti > ) -> Self { Self { inner : Inner :: FnUnitVariant ( FnUnitVariant { rtti } ) , } }
Create a function pointer that constructs a empty variant.
Create a function pointer that constructs a empty variant .
rtti
Arc<VariantRtti>
rtti
Arc<VariantRtti>