gg: allow changing gg.Rect fields (implement #25332) (#25341)

This commit is contained in:
Eliyaan (Nopana) 2025-09-18 15:51:41 +02:00 committed by GitHub
parent f2abf79f71
commit fa79c6f64c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -27,7 +27,7 @@ pub enum ImageEffect {
// Rect represents a rectangular shape in `gg`. // Rect represents a rectangular shape in `gg`.
pub struct Rect { pub struct Rect {
pub: pub mut:
x f32 x f32
y f32 y f32
width f32 width f32