#value #enums #optional #options #undefined

undefined

A Custom Option Enum with Undefined value

4 releases

0.1.3 Aug 25, 2023
0.1.2 Aug 25, 2023
0.1.1 Aug 20, 2023
0.1.0 Aug 19, 2023

#44 in #optional

Download history 3/week @ 2024-02-23 2/week @ 2024-03-01 1/week @ 2024-03-08 3/week @ 2024-03-15 17/week @ 2024-03-29 1/week @ 2024-04-05 106/week @ 2024-04-12

124 downloads per month

MIT/Apache

21KB
431 lines

undefined

An Alternative Rust::Option with Undefined Value


lib.rs:

A Custom Option Enum with Undefined

Optional is a alternative Option enum value with Optional::Undef value. Optional::Def is defined, and not-null Optional::Null is defined, but Null Optional::Undef is undefined

Dependencies

~12MB
~261K SLoC