Pre: make ValueTypeSet Copy, as it only newtypes EnumSet, which is Copy.
This commit is contained in:
parent
dbbbd220f9
commit
a10c6fc67a
1 changed files with 1 additions and 1 deletions
|
@ -496,7 +496,7 @@ impl<T: CLike + Clone> EnumSetExtensions<T> for EnumSet<T> {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Clone, Debug, Eq, PartialEq)]
|
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
|
||||||
pub struct ValueTypeSet(pub EnumSet<ValueType>);
|
pub struct ValueTypeSet(pub EnumSet<ValueType>);
|
||||||
|
|
||||||
impl Default for ValueTypeSet {
|
impl Default for ValueTypeSet {
|
||||||
|
|
Loading…
Reference in a new issue