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

@@ -373,6 +373,7 @@ bitflags::bitflags! {
/// Virtual table scan flags
/// See [Function Flags](https://sqlite.org/c3ref/c_index_scan_unique.html) for details.
#[repr(C)]
#[derive(Copy, Clone, Debug)]
pub struct IndexFlags: ::std::os::raw::c_int {
/// Default
const NONE = 0;