Derive Eq for Rectangle
This commit is contained in:
parent
f5db656a0f
commit
fbc2847572
@ -6,7 +6,7 @@ pub struct Point {
|
||||
y: u32,
|
||||
}
|
||||
|
||||
#[derive(Debug, Copy, Clone)]
|
||||
#[derive(Debug, Copy, Clone, Eq, PartialEq)]
|
||||
pub struct Rectangle {
|
||||
top_left: Point,
|
||||
width: u32,
|
||||
|
Loading…
Reference in New Issue
Block a user