added inline hint
This commit is contained in:
parent
b2fa511acd
commit
baa011ccf4
1 changed files with 1 additions and 0 deletions
|
@ -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) -> (),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue