mirror of
https://github.com/servo/servo.git
synced 2025-08-16 02:45:36 +01:00
style: Reformat recent changes.
This commit is contained in:
parent
7c4f9bbf49
commit
8c004c0858
40 changed files with 571 additions and 212 deletions
|
@ -75,7 +75,11 @@ pub use self::GenericBorderImageSlice as BorderImageSlice;
|
|||
ToShmem,
|
||||
)]
|
||||
#[repr(C)]
|
||||
pub struct GenericBorderCornerRadius<L>(#[css(field_bound)] #[shmem(field_bound)] pub Size2D<L>);
|
||||
pub struct GenericBorderCornerRadius<L>(
|
||||
#[css(field_bound)]
|
||||
#[shmem(field_bound)]
|
||||
pub Size2D<L>,
|
||||
);
|
||||
|
||||
pub use self::GenericBorderCornerRadius as BorderCornerRadius;
|
||||
|
||||
|
@ -114,7 +118,11 @@ impl<L: Zero> Zero for BorderCornerRadius<L> {
|
|||
ToShmem,
|
||||
)]
|
||||
#[repr(transparent)]
|
||||
pub struct BorderSpacing<L>(#[css(field_bound)] #[shmem(field_bound)] pub Size2D<L>);
|
||||
pub struct BorderSpacing<L>(
|
||||
#[css(field_bound)]
|
||||
#[shmem(field_bound)]
|
||||
pub Size2D<L>,
|
||||
);
|
||||
|
||||
impl<L> BorderSpacing<L> {
|
||||
/// Trivially create a `BorderCornerRadius`.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue