Skip to main content

ShouldUseMapBuilder

Trait ShouldUseMapBuilder 

Source
pub trait ShouldUseMapBuilder: SealUseMapBuilder {
    type BuilderMap;
}
Expand description

A trait implemented by the types for which we should recommend the use of a map builder.

Required Associated Types§

Source

type BuilderMap

The corresponding type to use inside this map builder

Dyn Compatibility§

This trait is dyn compatible.

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

Implementations on Foreign Types§

Source§

impl<T> ShouldUseMapBuilder for BTreeMap<String, T>
where T: Buildable,

Source§

impl<T> ShouldUseMapBuilder for HashMap<String, T>
where T: Buildable,

Implementors§