PTWM
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.

rsmod

ptwm_core::extension::dispatch

crates/ptwm-core/src/extension/dispatch.rs:1
mod dispatch

Static 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.
rstype

ptwm_core::extension::dispatch::BuiltinKind

crates/ptwm-core/src/extension/dispatch.rs:12
pub enum BuiltinKind

The kind of a resolved built-in contribution.

rsfn

ptwm_core::extension::dispatch::dispatch_builtin

crates/ptwm-core/src/extension/dispatch.rs:22
pub 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).