diff options
author | Ms2ger <ms2ger@gmail.com> | 2015-04-28 19:42:46 +0200 |
---|---|---|
committer | Ms2ger <ms2ger@gmail.com> | 2015-04-28 23:31:10 +0200 |
commit | 903305416a8fd4eef75960f9e83491adaaa519e8 (patch) | |
tree | 445f64c0a52c3b554ffc50ee96fe54ea11f32f86 /components/layout/flow.rs | |
parent | b6fc83cf2b4b426548bb9d10e9493f2b111bd617 (diff) | |
download | servo-903305416a8fd4eef75960f9e83491adaaa519e8.tar.gz servo-903305416a8fd4eef75960f9e83491adaaa519e8.zip |
Implement Clone for Copy types.
Diffstat (limited to 'components/layout/flow.rs')
-rw-r--r-- | components/layout/flow.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/layout/flow.rs b/components/layout/flow.rs index 6ebf8530c90..5c058439d29 100644 --- a/components/layout/flow.rs +++ b/components/layout/flow.rs @@ -693,7 +693,7 @@ pub type DescendantOffsetIter<'a> = Zip<DescendantIter<'a>, IterMut<'a, Au>>; /// Information needed to compute absolute (i.e. viewport-relative) flow positions (not to be /// confused with absolutely-positioned flows). -#[derive(RustcEncodable, Copy)] +#[derive(RustcEncodable, Copy, Clone)] pub struct AbsolutePositionInfo { /// The size of the containing block for relatively-positioned descendants. pub relative_containing_block_size: LogicalSize<Au>, |