-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
The Gerber spec specifies a list of data types:
- Integers
- Decimals
- Coordinate Numbers
- Hexadecimal
- Names
- Strings
We should make sure that only valid values accrding to the spec can be passed in to types expecting these basic data types.
This means that we probably won't get around creating custom wrapper types.
Is there a way to create range types in Rust, e.g. a 32 bit signed integer >= 1? Or strings that only accept certain unicode codepoints? Ideally as much as possible at compile time.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels