#[repr(u64)]pub enum DevFlags {
FeatureReportsNumbered = 1,
OutputReportsNumbered = 2,
InputReportsNumbered = 4,
}
Expand description
Each of these flags defines whether a given report-type uses numbered reports. If numbered reports are used for a type, all messages from the kernel already have the report-number as prefix. Otherwise, no prefix is added by the kernel. For messages sent by user-space to the kernel, you must adjust the prefixes according to these flags.
Variants§
Trait Implementations§
Source§impl RawBitFlags for DevFlags
impl RawBitFlags for DevFlags
Source§fn bitflags_type_name() -> &'static str
fn bitflags_type_name() -> &'static str
Return the name of the type for debug formatting purposes. Read more
impl Copy for DevFlags
impl RawBitFlags for DevFlags
impl StructuralPartialEq for DevFlags
Auto Trait Implementations§
impl Freeze for DevFlags
impl RefUnwindSafe for DevFlags
impl Send for DevFlags
impl Sync for DevFlags
impl Unpin for DevFlags
impl UnwindSafe for DevFlags
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more