File tree Expand file tree Collapse file tree 3 files changed +3
-1
lines changed Expand file tree Collapse file tree 3 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ path = "src/lib.rs"
2020libc = " ^0.2"
2121
2222[build-dependencies .bindgen ]
23- version = " ^0.69 "
23+ version = " ^0.70 "
2424optional = true
2525
2626[build-dependencies .pkg-config ]
Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ use version::Version;
3434bitflags ! {
3535 /// InitFlags are passed to init() to control which subsystem
3636 /// functionality to load.
37+ #[ derive( Clone , Copy ) ]
3738 pub struct InitFlag : u32 {
3839 const JPG = image:: IMG_InitFlags_IMG_INIT_JPG ;
3940 const PNG = image:: IMG_InitFlags_IMG_INIT_PNG ;
Original file line number Diff line number Diff line change @@ -96,6 +96,7 @@ pub fn get_linked_version() -> Version {
9696}
9797
9898bitflags ! (
99+ #[ derive( Clone , Copy , Debug ) ]
99100 pub struct InitFlag : u32 {
100101 const FLAC = mixer:: MIX_InitFlags_MIX_INIT_FLAC ;
101102 const MOD = mixer:: MIX_InitFlags_MIX_INIT_MOD ;
You can’t perform that action at this time.
0 commit comments