Skip to content

Commit a49ead9

Browse files
committed
Group GlxOpcode with other public structs
1 parent 96f09ab commit a49ead9

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

gl_generator/registry.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,12 @@ pub struct Cmd {
216216
pub glx: Option<GlxOpcode>,
217217
}
218218

219+
pub struct GlxOpcode {
220+
pub ty: String,
221+
pub opcode: String,
222+
pub name: Option<String>,
223+
}
224+
219225
#[derive(Clone)]
220226
struct Feature {
221227
api: Api,
@@ -251,12 +257,6 @@ struct Extension {
251257
requires: Vec<Require>,
252258
}
253259

254-
pub struct GlxOpcode {
255-
pub ty: String,
256-
pub opcode: String,
257-
pub name: Option<String>,
258-
}
259-
260260
struct RegistryParser<R: io::Read> {
261261
api: Api,
262262
reader: XmlEventReader<R>,

0 commit comments

Comments
 (0)