Skip to content

Commit b209387

Browse files
godot-core: builtin: reimplement Rect2i to provide functionality on outer type
1 parent edd873b commit b209387

File tree

4 files changed

+581
-8
lines changed

4 files changed

+581
-8
lines changed

godot-core/src/builtin/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -330,6 +330,7 @@ macro_rules! real {
330330
/// The side of a [`Rect2`] or [`Rect2i`].
331331
///
332332
/// _Godot equivalent: `@GlobalScope.Side`_
333+
#[derive(Copy, Clone)]
333334
#[repr(C)]
334335
pub enum RectSide {
335336
Left = 0,

0 commit comments

Comments
 (0)