added inline hint
This commit is contained in:
1 parent
7ea0d2c443
commit
3dfa2a0962
1 file changed
+1
@@ -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) -> (),
|
||||
|
||||
Reference in new issue
Block a user