Skip to main content

register

Function register 

Source
pub fn register(b: &mut FeatureBuilder<'_>) -> Result<(), BuildError>
Expand description

Registers the construct element flm.pres.html.tag with its payload type. The html feature (super::HtmlBackend) calls this from its own registration; a second registration in one registry declares the element twice and fails the build.

§Errors

Returns the BuildError the feature builder raises for a presentation element already declared in this registry.