added inline hint

This commit is contained in:
Mikayla Maki 2022-07-06 17:57:32 -07:00
parent b2fa511acd
commit baa011ccf4

View file

@ -651,6 +651,7 @@ impl<'a> PaintContext<'a> {
}
}
#[inline]
pub fn paint_layer<F>(&mut self, clip_bounds: Option<RectF>, f: F)
where
F: FnOnce(&mut Self) -> (),