We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96f09ab commit a49ead9Copy full SHA for a49ead9
gl_generator/registry.rs
@@ -216,6 +216,12 @@ pub struct Cmd {
216
pub glx: Option<GlxOpcode>,
217
}
218
219
+pub struct GlxOpcode {
220
+ pub ty: String,
221
+ pub opcode: String,
222
+ pub name: Option<String>,
223
+}
224
+
225
#[derive(Clone)]
226
struct Feature {
227
api: Api,
@@ -251,12 +257,6 @@ struct Extension {
251
257
requires: Vec<Require>,
252
258
253
259
254
-pub struct GlxOpcode {
255
- pub ty: String,
256
- pub opcode: String,
- pub name: Option<String>,
-}
-
260
struct RegistryParser<R: io::Read> {
261
262
reader: XmlEventReader<R>,
0 commit comments