mirror of
https://github.com/servo/servo.git
synced 2025-08-15 18:35:33 +01:00
style: Miscellaneous servo build fixes.
This commit is contained in:
parent
eff8f0fca0
commit
332aec212c
14 changed files with 52 additions and 35 deletions
|
@ -12,8 +12,7 @@ use crate::values::generics::color::{Color as GenericColor, ComplexColorRatios};
|
|||
///
|
||||
/// Unlike in computed values, each component value may exceed the
|
||||
/// range `[0.0, 1.0]`.
|
||||
#[cfg_attr(feature = "servo", derive(MallocSizeOf))]
|
||||
#[derive(Clone, Copy, Debug, PartialEq, ToAnimatedZero)]
|
||||
#[derive(Clone, Copy, Debug, MallocSizeOf, PartialEq, ToAnimatedZero)]
|
||||
pub struct RGBA {
|
||||
/// The red component.
|
||||
pub red: f32,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue