pub trait ProgramMeta {
const NUM_CHANNELS: usize;
const NUM_EVENT_FLAGS: usize;
const NUM_STATE_SETS: usize;
// Required methods
fn channel_defs() -> Vec<ChannelDef>;
fn event_flag_sync_map() -> Vec<Vec<usize>>;
}Expand description
Static program metadata provided by generated code.
Required Associated Constants§
Required Methods§
fn channel_defs() -> Vec<ChannelDef>
Sourcefn event_flag_sync_map() -> Vec<Vec<usize>>
fn event_flag_sync_map() -> Vec<Vec<usize>>
Maps event flag id → list of synced channel ids.
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.