#field #either #controlled #state #calling #user #safely

one-or-both

A struct for getting data from inner field safely with state controlled method, preventing user accidentally calling the wrong method

1 unstable release

0.1.0 Jun 19, 2023

#4 in #controlled

MIT license

6KB
123 lines

one-or-both

A struct for getting data from inner field safely with state controlled method, preventing user accidentally calling the wrong method.

No runtime deps