[][src]Enum uhid_fs::DevFlags

#[repr(u64)]
pub enum DevFlags {
    FeatureReportsNumbered,
    OutputReportsNumbered,
    InputReportsNumbered,
}

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

FeatureReportsNumbered
OutputReportsNumbered
InputReportsNumbered

Trait Implementations

impl Clone for DevFlags[src]

impl Copy for DevFlags[src]

impl PartialEq<DevFlags> for DevFlags[src]

impl Not for DevFlags[src]

type Output = BitFlags<DevFlags>

The resulting type after applying the ! operator.

impl BitAnd<DevFlags> for DevFlags[src]

type Output = BitFlags<DevFlags>

The resulting type after applying the & operator.

impl BitOr<DevFlags> for DevFlags[src]

type Output = BitFlags<DevFlags>

The resulting type after applying the | operator.

impl BitXor<DevFlags> for DevFlags[src]

type Output = BitFlags<DevFlags>

The resulting type after applying the ^ operator.

impl StructuralPartialEq for DevFlags[src]

impl RawBitFlags for DevFlags[src]

type Type = u64

The underlying integer type.

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]