derive clone and copy

pull/277/head
FabianLars 2 years ago
parent 3c6c168407
commit 54db866c68
No known key found for this signature in database
GPG Key ID: 3B12BC1DEBF61125

@ -34,6 +34,7 @@ pub enum Error {
pub type Result<T> = std::result::Result<T, Error>; pub type Result<T> = std::result::Result<T, Error>;
bitflags! { bitflags! {
#[derive(Clone, Copy)]
pub struct StateFlags: u32 { pub struct StateFlags: u32 {
const SIZE = 1 << 0; const SIZE = 1 << 0;
const POSITION = 1 << 1; const POSITION = 1 << 1;

Loading…
Cancel
Save