Skip to content

Commit 7928725

Browse files
committed
Mark builder method with #[inline]
1 parent 741022b commit 7928725

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

crates/epaint/src/shapes/rect_shape.rs

+1
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ impl RectShape {
9797
}
9898

9999
/// Set the texture to use when painting this rectangle, if any.
100+
#[inline]
100101
pub fn with_texture(mut self, fill_texture_id: TextureId, uv: Rect) -> Self {
101102
self.brush = Some(Arc::new(Brush {
102103
fill_texture_id,

0 commit comments

Comments
 (0)