Skip to main content

MappingMergedExt

Trait MappingMergedExt 

Source
pub trait MappingMergedExt {
    // Required method
    fn merged<'a>(&self, registry: &'a AnchorRegistry) -> MergedMapping<'a>;
}
Expand description

Extension trait that adds merged to Mapping.

Required Methods§

Source

fn merged<'a>(&self, registry: &'a AnchorRegistry) -> MergedMapping<'a>

Return a MergedMapping view over this mapping that resolves aliases and merge keys against registry.

The view is read-only and does not modify the underlying CST.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§