Module button

Module button 

Source
Expand description

Definitions of button structs

Structs§

Button
Button definition, it’s simply a hashmap, but is used to represent all the components of the button

Enums§

ParseError
Parse error used for functions in this module

Traits§

Component
Component trait, simply provides name for component generic methods

Functions§

parse_button_to_component
Attempts to retrieve a component from a button
parse_unique_button_to_component
Attempts to retrieve a component from reference counted button
serialize_component
Serializes component into JSON