Skip to main content

register

Function register 

Source
pub fn register(registry: &mut Registry) -> Result<(), Box<dyn Transformer>>
Expand description

Inserts all structure-related Transformers into the specified Registry.

ยงErrors

This will fail if at least one standard structure-related Transformer is already present by-name in the Registry.

On failure, there is no guarantee that other non-colliding transformers have not been registered.