implement Clone
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#[derive(Debug, Eq, PartialEq)]
|
||||
#[derive(Clone, Debug, Eq, PartialEq)]
|
||||
pub enum Font {
|
||||
AsciiSmall, // default - does not appear in game data
|
||||
UnicodeEuropeanSmall,
|
||||
@@ -32,7 +32,7 @@ impl Font {
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Debug, Eq, PartialEq)]
|
||||
#[derive(Clone, Debug, Eq, PartialEq)]
|
||||
pub enum TextDirection {
|
||||
LeftToRight, // default
|
||||
RightToLeft,
|
||||
|
||||
Reference in New Issue
Block a user