Trait RegisterWitTypes

Source
pub trait RegisterWitTypes: Sealed {
    // Required method
    fn register_wit_types(wit_types: &mut BTreeMap<String, String>);
}
Expand description

Trait to register a compile-time list of WitTypes into a BTreeMap.

Required Methods§

Source

fn register_wit_types(wit_types: &mut BTreeMap<String, String>)

Registers this list of WitTypes into wit_types.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl RegisterWitTypes for HNil

Source§

impl<Head, Tail> RegisterWitTypes for HCons<Head, Tail>
where Head: WitType, Tail: RegisterWitTypes,