aboutsummaryrefslogtreecommitdiff
path: root/mingling_core/src/private.rs
blob: 371ada279a038525599fc18f4e87fb80c0c86a16 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
/// Sealed trait for `StructuralData` — only implementable via derive macro.
#[cfg(feature = "structural_renderer")]
pub trait StructuralDataSealed<C>
where
    C: crate::ProgramCollect<Enum = C>,
{
}

/// Re-export so the derive macro can reference the trait without
/// conflicting with the derive macro name at `::mingling::StructuralData`.
#[cfg(feature = "structural_renderer")]
pub use crate::renderer::structural::structural_data::StructuralData;