mirror of
https://github.com/isar/rusqlite.git
synced 2025-10-08 20:42:19 +08:00
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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user