macro_rules! impl_substate_access { ($state:ty, $substate_type:ty, $($substate_path:tt)*) => { ... }; }
Helper macro for the trivial substate access pattern.
impl_substate_access!(State, TransitionFrontierSyncState, transition_frontier.sync);