@@ -278,7 +278,7 @@ pub struct RoundedRectClipDisplayItem {
278
278
279
279
/// The minimum and maximum allowable offset for a sticky frame in a single dimension.
280
280
#[ repr( C ) ]
281
- #[ derive( Clone , Copy , Debug , Default , Deserialize , PartialEq , Serialize , PeekPoke ) ]
281
+ #[ derive( Clone , Copy , Debug , Default , Deserialize , MallocSizeOf , PartialEq , Serialize , PeekPoke ) ]
282
282
pub struct StickyOffsetBounds {
283
283
/// The minimum offset for this frame, typically a negative value, which specifies how
284
284
/// far in the negative direction the sticky frame can offset its contents in this
@@ -784,7 +784,7 @@ pub struct ReferenceFrameDescriptor {
784
784
pub reference_frame : ReferenceFrame ,
785
785
}
786
786
787
- #[ derive( Clone , Copy , Debug , Deserialize , PartialEq , Serialize , PeekPoke ) ]
787
+ #[ derive( Clone , Copy , Debug , Deserialize , MallocSizeOf , PartialEq , Serialize , PeekPoke ) ]
788
788
pub enum ReferenceFrameKind {
789
789
/// A normal transform matrix, may contain perspective (the CSS transform property)
790
790
Transform {
@@ -931,7 +931,7 @@ pub struct StackingContext {
931
931
// IMPLICIT: filters: Vec<FilterOp>, filter_datas: Vec<FilterData>, filter_primitives: Vec<FilterPrimitive>
932
932
933
933
#[ repr( u8 ) ]
934
- #[ derive( Clone , Copy , Debug , Deserialize , Eq , Hash , PartialEq , Serialize , PeekPoke ) ]
934
+ #[ derive( Clone , Copy , Debug , Deserialize , Eq , Hash , MallocSizeOf , PartialEq , Serialize , PeekPoke ) ]
935
935
pub enum TransformStyle {
936
936
Flat = 0 ,
937
937
Preserve3D = 1 ,
@@ -2219,7 +2219,7 @@ impl ClipId {
2219
2219
}
2220
2220
2221
2221
/// A reference to a spatial node defining item positioning.
2222
- #[ derive( Clone , Copy , Debug , Default , Deserialize , Eq , Hash , PartialEq , Serialize , PeekPoke ) ]
2222
+ #[ derive( Clone , Copy , Debug , Default , Deserialize , Eq , Hash , MallocSizeOf , PartialEq , Serialize , PeekPoke ) ]
2223
2223
pub struct SpatialId ( pub usize , PipelineId ) ;
2224
2224
2225
2225
const ROOT_REFERENCE_FRAME_SPATIAL_ID : usize = 0 ;
@@ -2250,7 +2250,7 @@ impl SpatialId {
2250
2250
///
2251
2251
/// When setting display lists with the `preserve_frame_state` this id is used to preserve scroll
2252
2252
/// offsets between different sets of SpatialNodes which are ScrollFrames.
2253
- #[ derive( Clone , Copy , Debug , Default , Deserialize , Eq , Hash , PartialEq , Serialize , PeekPoke ) ]
2253
+ #[ derive( Clone , Copy , Debug , Default , Deserialize , Eq , Hash , MallocSizeOf , PartialEq , Serialize , PeekPoke ) ]
2254
2254
#[ repr( C ) ]
2255
2255
pub struct ExternalScrollId ( pub u64 , pub PipelineId ) ;
2256
2256
0 commit comments