Move doc comment to struct inside bitflags invocation
This commit is contained in:
@@ -12,10 +12,10 @@ pub type CGEventField = u32;
|
||||
pub type CGKeyCode = u16;
|
||||
pub type CGScrollEventUnit = u32;
|
||||
|
||||
// Flags for events
|
||||
//
|
||||
// [Ref](http://opensource.apple.com/source/IOHIDFamily/IOHIDFamily-700/IOHIDSystem/IOKit/hidsystem/IOLLEvent.h)
|
||||
bitflags! {
|
||||
/// Flags for events
|
||||
///
|
||||
/// [Ref](http://opensource.apple.com/source/IOHIDFamily/IOHIDFamily-700/IOHIDSystem/IOKit/hidsystem/IOLLEvent.h)
|
||||
#[repr(C)]
|
||||
pub struct CGEventFlags: u64 {
|
||||
const CGEventFlagNull = 0;
|
||||
|
||||
Reference in New Issue
Block a user