Skip to content

Commit

Permalink
Proper Copy and Clone for Color struct
Browse files Browse the repository at this point in the history
  • Loading branch information
ionarevamp committed Sep 9, 2024
1 parent 6a9851d commit a81b5b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ pub struct Vec2<T: Sized> {
pub y: T,
}

#[derive(Debug, Clone)]
#[derive(Debug, Clone, Copy)]
pub struct Color {
pub a: u8,
pub r: u8,
Expand Down

0 comments on commit a81b5b1

Please sign in to comment.