[][src]Struct usbw::libusb::transfer::Flags

pub struct Flags(_);

Implementations

impl Flags[src]

pub const fn new(flags: u8) -> Flags[src]

pub const fn inner(self) -> u8[src]

pub fn get(self, flag: Flag) -> bool[src]

pub fn set(&mut self, flag: Flag)[src]

pub fn clear(&mut self, flag: Flag)[src]

Trait Implementations

impl Clone for Flags[src]

impl Copy for Flags[src]

impl Debug for Flags[src]

impl Eq for Flags[src]

impl From<Flags> for u8[src]

impl From<u8> for Flags[src]

impl Hash for Flags[src]

impl Ord for Flags[src]

impl PartialEq<Flags> for Flags[src]

impl PartialOrd<Flags> for Flags[src]

impl StructuralEq for Flags[src]

impl StructuralPartialEq for Flags[src]

Auto Trait Implementations

impl RefUnwindSafe for Flags

impl Send for Flags

impl Sync for Flags

impl Unpin for Flags

impl UnwindSafe for Flags

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.