Trait FromMap

Source
pub trait FromMap: Default {
    // Required method
    fn from_genericmap(hashmap: GenericMap) -> Self;
}

Required Methods§

Source

fn from_genericmap(hashmap: GenericMap) -> Self

Converts a GenericMap back into a structure. Constraints: assumes that value types conform to the original types of the struct.

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§