Add #[derive(Clone, Copy... on some bitflags / enum (#1396)

This will make it easier to use them, e.g. I won't need to re-create `FunctionFlags` for registering multiple similar functions.
This commit is contained in:
Yuri Astrakhan
2023-12-24 02:54:48 -05:00
committed by GitHub
parent ff902751c0
commit 68c3083e34
5 changed files with 5 additions and 1 deletions

View File

@@ -111,7 +111,7 @@ pub struct Null;
/// SQLite data types.
/// See [Fundamental Datatypes](https://sqlite.org/c3ref/c_blob.html).
#[derive(Clone, Debug, PartialEq, Eq)]
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
pub enum Type {
/// NULL
Null,