-
For types like `SmallVec`, or in general an enum where the variants have a huge difference in size, we should probably try to optimize the copies better.
Basically, for enums with some large-enough…
-
Almost all implementations of `Iterator::next` for enum types will at some point branch based on the variant of the current value. When that variant does not change during iteration, it is beneficial …
-
Let's consider the following enum in Rust:
```Rust
enum Point {Cartesian {x: f64, y: f64}, Polar {r: f64, phi: f64} }
```
Currently the codegen assumes that the corresponding Gluon definition look…
-
The ability to use enums in your models is pretty nice, but the current interface did require a small bit of hacking around some of the type restrictions. This has led to using enums being a bit diffi…
-
"Value name of root enum should be start with enum name"
https://google.aip.dev/126
>All enum values must use UPPER_SNAKE_CASE.
The first value of the enum should be the name of the enum itself…
-
### What version of `drizzle-orm` are you using?
0.29.1
### What version of `drizzle-kit` are you using?
0.20.6
### Describe the Bug
`sql.placeholder` throws type error for enums.
```ts
impor…
-
As a user I want to have to two relations if there is an enum defined in ClassA and used by ClassB. The first relation goes from ClassB to ClassA the second relation goes from ClassB to ClassA.Enum.
…
-
Does the AIPs provide any guidance on naming enums with a prefix? e.g.
```
// Possible formats in which the book may be published.
enum Format {
// Default value. This value is unused.
…
-
```java
enum ASD { }
class FADSF {
@Delegate
ASD asd;
}
```
In Eclipse, the annotation generates the enum methods 3 times:
![image](https://user-images.githubusercontent.com/37422899…
-
As Steam ships EMsg as an enum in protobufs, we can switch to it.