Update bitflags to 2.0
Co-authored-by: dAxpeDDa <daxpedda@gmail.com>
This commit is contained in:
parent
d273518ce9
commit
31ebc5caf4
14 changed files with 27 additions and 14 deletions
|
|
@ -336,6 +336,7 @@ unsafe impl Encode for NSWindowLevel {
|
|||
}
|
||||
|
||||
bitflags! {
|
||||
#[derive(Clone, Copy)]
|
||||
pub struct NSWindowOcclusionState: NSUInteger {
|
||||
const NSWindowOcclusionStateVisible = 1 << 1;
|
||||
}
|
||||
|
|
@ -346,6 +347,7 @@ unsafe impl Encode for NSWindowOcclusionState {
|
|||
}
|
||||
|
||||
bitflags! {
|
||||
#[derive(Debug, Clone, Copy)]
|
||||
pub struct NSWindowStyleMask: NSUInteger {
|
||||
const NSBorderlessWindowMask = 0;
|
||||
const NSTitledWindowMask = 1 << 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue