Enum uhid_virt::DevFlags[][src]

#[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 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 Clone for DevFlags[src]

impl Copy for DevFlags[src]

impl Not for DevFlags[src]

type Output = BitFlags<DevFlags>

The resulting type after applying the ! operator.

impl PartialEq<DevFlags> for DevFlags[src]

impl RawBitFlags for DevFlags[src]

impl RawBitFlags for DevFlags[src]

type Type = u64

The underlying integer type.

impl StructuralPartialEq for DevFlags[src]

Auto Trait Implementations

impl RefUnwindSafe for DevFlags

impl Send for DevFlags

impl Sync for DevFlags

impl Unpin for DevFlags

impl UnwindSafe for DevFlags

Blanket Implementations

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

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

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

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

impl<T, U> Into<U> for T where
    U: From<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.