1
0
Fork 0
forked from wry/wry

autocommit 2022-04-20 18:33:59 CEST

This commit is contained in:
Julian Orth 2022-04-20 18:33:59 +02:00
parent 1227ede560
commit 34e665cd8b
9 changed files with 82 additions and 15 deletions

View file

@ -69,6 +69,7 @@ impl Region {
})
}
#[allow(dead_code)]
pub fn extents(&self) -> Rect {
self.extents
}
@ -576,6 +577,7 @@ impl RegionBuilder {
self.base.clone()
}
#[allow(dead_code)]
pub fn clear(&mut self) {
self.pending.clear();
self.base = Region::empty();