add PhantomConst #23

Merged
programmerjake merged 2 commits from programmerjake/fayalite:add-phantom-const into master 2025-03-10 05:51:21 +00:00

PhantomConst is a wrapper type that allows any Rust value to be smuggled as a HDL Type.
This only works for values that can be serialized to and deserialized from JSON.

`PhantomConst` is a wrapper type that allows any Rust value to be smuggled as a HDL `Type`. This only works for values that can be serialized to and deserialized from JSON.
programmerjake added 2 commits 2025-03-10 04:08:54 +00:00
add PhantomConst
All checks were successful
/ deps (pull_request) Successful in 15s
/ test (pull_request) Successful in 3m51s
/ deps (push) Successful in 13s
/ test (push) Successful in 4m15s
c0c5b550bc
programmerjake merged commit c0c5b550bc into master 2025-03-10 05:51:21 +00:00
programmerjake deleted branch add-phantom-const 2025-03-10 05:51:21 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: libre-chip/fayalite#23
No description provided.