Module lib_xch::handler [] [src]

Structs

ErrorHandler

ErrorHandler returns when handler::handler_api failed somehow. CAUTION: parser_result might empty if parser is failed.

Functions

handler_api

the API balances the Chemical Equation by equation and searching range. If the equation can balance, function would return a i32 vector which contains the answer. If not, it would return handler::ErrorHandler which contains Delta-3 the parser's result and error message.