View Source Flamel.Mappable protocol (flamel v1.10.0)

The Flamel.Mappable protocol is responsible for converting a structure to an Map (only if applicable).

Summary

Types

t()

All the types that implement this protocol.

Functions

Converts term to a Map.

Types

@type t() :: term()

All the types that implement this protocol.

Functions

@spec to(t()) :: map()

Converts term to a Map.