pub fn add_hook(
registry: &mut ShapeRegistry,
sig: HookSignatureBuilder,
id: Option<&str>,
) -> TypeExpand description
Add a hook to a ShapeRegistry.
Returns a Type::Function representing the added hook.
pub fn add_hook(
registry: &mut ShapeRegistry,
sig: HookSignatureBuilder,
id: Option<&str>,
) -> TypeAdd a hook to a ShapeRegistry.
Returns a Type::Function representing the added hook.