aboutsummaryrefslogtreecommitdiffstats
path: root/components/style/gecko/generated/structs_release.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/style/gecko/generated/structs_release.rs')
-rw-r--r--components/style/gecko/generated/structs_release.rs21
1 files changed, 12 insertions, 9 deletions
diff --git a/components/style/gecko/generated/structs_release.rs b/components/style/gecko/generated/structs_release.rs
index deed71460ab..a8b493e82b3 100644
--- a/components/style/gecko/generated/structs_release.rs
+++ b/components/style/gecko/generated/structs_release.rs
@@ -258,13 +258,6 @@ pub mod root {
pub const NS_STYLE_IMAGELAYER_POSITION_BOTTOM: ::std::os::raw::c_uint = 4;
pub const NS_STYLE_IMAGELAYER_POSITION_LEFT: ::std::os::raw::c_uint = 8;
pub const NS_STYLE_IMAGELAYER_POSITION_RIGHT: ::std::os::raw::c_uint = 16;
- pub const NS_STYLE_IMAGELAYER_REPEAT_NO_REPEAT: ::std::os::raw::c_uint =
- 0;
- pub const NS_STYLE_IMAGELAYER_REPEAT_REPEAT_X: ::std::os::raw::c_uint = 1;
- pub const NS_STYLE_IMAGELAYER_REPEAT_REPEAT_Y: ::std::os::raw::c_uint = 2;
- pub const NS_STYLE_IMAGELAYER_REPEAT_REPEAT: ::std::os::raw::c_uint = 3;
- pub const NS_STYLE_IMAGELAYER_REPEAT_SPACE: ::std::os::raw::c_uint = 4;
- pub const NS_STYLE_IMAGELAYER_REPEAT_ROUND: ::std::os::raw::c_uint = 5;
pub const NS_STYLE_IMAGELAYER_SIZE_CONTAIN: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_IMAGELAYER_SIZE_COVER: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_MASK_MODE_ALPHA: ::std::os::raw::c_uint = 0;
@@ -6276,6 +6269,16 @@ pub mod root {
}
#[repr(u8)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+ pub enum StyleImageLayerRepeat {
+ NoRepeat = 0,
+ RepeatX = 1,
+ RepeatY = 2,
+ Repeat = 3,
+ Space = 4,
+ Round = 5,
+ }
+ #[repr(u8)]
+ #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum StyleDisplay {
None = 0,
Block = 1,
@@ -29432,8 +29435,8 @@ pub mod root {
#[repr(C)]
#[derive(Debug, Copy)]
pub struct nsStyleImageLayers_Repeat {
- pub mXRepeat: u8,
- pub mYRepeat: u8,
+ pub mXRepeat: root::mozilla::StyleImageLayerRepeat,
+ pub mYRepeat: root::mozilla::StyleImageLayerRepeat,
}
#[test]
fn bindgen_test_layout_nsStyleImageLayers_Repeat() {