Skip to content

Commit

Permalink
chore: mocked getters fo Rect
Browse files Browse the repository at this point in the history
  • Loading branch information
marc2332 committed Aug 17, 2024
1 parent 7e7f01c commit 80a6557
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions crates/engine/src/mocked.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1167,6 +1167,22 @@ impl Rect {
pub fn new(_left: f32, _top: f32, _right: f32, _bottom: f32) -> Self {
unimplemented!("This is mocked")
}

pub fn x(&self) -> f32 {
unimplemented!("This is mocked")
}

pub fn y(&self) -> f32 {
unimplemented!("This is mocked")
}

pub fn width(&self) -> f32 {
unimplemented!("This is mocked")
}

pub fn height(&self) -> f32 {
unimplemented!("This is mocked")
}
}

pub struct Image;
Expand Down

0 comments on commit 80a6557

Please sign in to comment.