diff options
| author | Laurenz <laurmaedje@gmail.com> | 2021-07-08 23:16:02 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2021-07-08 23:16:02 +0200 |
| commit | 02b586cc36fad58a622ecb439e1cf3a76a347207 (patch) | |
| tree | 11ec37daa234e19e9eb30e0370795e77e4ef418b /src/layout/incremental.rs | |
| parent | fd0b89a1d8e4f811fcf3517d321a327a0cf72edf (diff) | |
Add lots of Eq impls
Diffstat (limited to 'src/layout/incremental.rs')
| -rw-r--r-- | src/layout/incremental.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/layout/incremental.rs b/src/layout/incremental.rs index d41fe431..429dc514 100644 --- a/src/layout/incremental.rs +++ b/src/layout/incremental.rs @@ -168,7 +168,7 @@ impl FramesEntry { } /// Describe regions that match them. -#[derive(Debug, Copy, Clone, PartialEq)] +#[derive(Debug, Copy, Clone, Eq, PartialEq)] pub struct Constraints { /// The minimum available length in the region. pub min: Spec<Option<Length>>, @@ -253,7 +253,7 @@ impl Constraints { /// Carries an item that only applies to certain regions and the constraints /// that describe these regions. -#[derive(Debug, Copy, Clone, PartialEq)] +#[derive(Debug, Copy, Clone, Eq, PartialEq)] pub struct Constrained<T> { pub item: T, pub constraints: Constraints, |
