mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Bug 1335942 - Part 1: Introduce mozilla::AnimationValue. r=manishearth
Use AnimationValue to wrap StyleAnimationValue and RawServoAnimationValue.
This commit is contained in:
parent
e2b494b1d0
commit
c7dc3e4008
3 changed files with 15 additions and 5 deletions
|
@ -5152,10 +5152,15 @@ pub mod root {
|
|||
pub struct ContainerLayerParameters([u8; 0]);
|
||||
#[repr(C)]
|
||||
#[derive(Debug)]
|
||||
pub struct AnimationValue {
|
||||
pub mGecko: root::mozilla::StyleAnimationValue,
|
||||
pub mServo: root::RefPtr<root::RawServoAnimationValue>,
|
||||
}
|
||||
#[repr(C)]
|
||||
#[derive(Debug)]
|
||||
pub struct PropertyStyleAnimationValuePair {
|
||||
pub mProperty: root::nsCSSPropertyID,
|
||||
pub mValue: root::mozilla::StyleAnimationValue,
|
||||
pub mServoValue: root::RefPtr<root::RawServoAnimationValue>,
|
||||
pub mValue: root::mozilla::AnimationValue,
|
||||
}
|
||||
#[test]
|
||||
fn bindgen_test_layout_PropertyStyleAnimationValuePair() {
|
||||
|
|
|
@ -5068,10 +5068,15 @@ pub mod root {
|
|||
pub struct ContainerLayerParameters([u8; 0]);
|
||||
#[repr(C)]
|
||||
#[derive(Debug)]
|
||||
pub struct AnimationValue {
|
||||
pub mGecko: root::mozilla::StyleAnimationValue,
|
||||
pub mServo: root::RefPtr<root::RawServoAnimationValue>,
|
||||
}
|
||||
#[repr(C)]
|
||||
#[derive(Debug)]
|
||||
pub struct PropertyStyleAnimationValuePair {
|
||||
pub mProperty: root::nsCSSPropertyID,
|
||||
pub mValue: root::mozilla::StyleAnimationValue,
|
||||
pub mServoValue: root::RefPtr<root::RawServoAnimationValue>,
|
||||
pub mValue: root::mozilla::AnimationValue,
|
||||
}
|
||||
#[test]
|
||||
fn bindgen_test_layout_PropertyStyleAnimationValuePair() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue