modify: Quality bits into separated flags

This commit is contained in:
thekuwayama 2023-07-23 18:48:35 +09:00
parent b73c65d8b6
commit 5a25904a07

View file

@ -72,10 +72,10 @@ bitflags! {
#[derive(Default)] #[derive(Default)]
pub struct Quality: u8 { pub struct Quality: u8 {
const NONE = 0x00; const NONE = 0x00;
const SCENE = 0x01; const SCENE = 0x01; // Short: S
const PERSISTENT = 0x02; const PERSISTENT = 0x02; // Short: N
const FIXED = 0x03; const FIXED = 0x04; // Short: F
const NULLABLE = 0x04; const NULLABLE = 0x08; // Short: X
} }
} }