generated from snivilised/astrolib
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ref(rx): rationalise item aux fields (#142)
- Loading branch information
1 parent
c56df52
commit 2d5e522
Showing
4 changed files
with
115 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
package enums | ||
|
||
type ItemDiscriminator uint32 | ||
|
||
const ( | ||
// ItemDiscNative enum value that represents the native type T. | ||
// | ||
ItemDiscNative ItemDiscriminator = 0 | ||
|
||
// ItemDiscError enum value that represents an error | ||
// | ||
ItemDiscError ItemDiscriminator = 1 << (iota - 1) | ||
|
||
// ItemDiscPulse enum value that represents a Tick value. | ||
// | ||
ItemDiscPulse | ||
|
||
// ItemDiscTick enum value that represents a TickValue value. | ||
// | ||
ItemDiscTickValue | ||
|
||
// ItemDiscNumeric enum value that represents a general numeric value | ||
// typically used by range operations that require a number. | ||
// | ||
ItemDiscNumeric | ||
|
||
// ItemDiscChan enum value that represents a channel of T | ||
// | ||
ItemDiscChan | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters