extension
ptwm_core::extension::dispatch
Static dispatch table for in-tree built-in ops and codecs.
ptwm_core::extension::dispatch
Static dispatch table for in-tree built-in ops and codecs.
ptwm_core::extension::dispatch
crates/ptwm-core/src/extension/dispatch.rs:1mod dispatchStatic dispatch table for in-tree built-in ops and codecs.
Resolves a [`CanonicalId`] back to the corresponding [`OpId`] or
[`CodecId`] for files that reference contributions via the Extension Table.
ptwm_core::extension::dispatch::BuiltinKind
crates/ptwm-core/src/extension/dispatch.rs:12pub enum BuiltinKindThe kind of a resolved built-in contribution.
ptwm_core::extension::dispatch::dispatch_builtin
crates/ptwm-core/src/extension/dispatch.rs:22pub fn dispatch_builtin(id: &CanonicalId) -> Option<BuiltinKind>Look up a [`CanonicalId`] in the static in-tree dispatch table.
Returns `Some(BuiltinKind)` for every built-in op and codec that ships
with ptwm-core, or `None` if the id is not recognized (e.g. a third-party
extension handled via dynamic loading instead).