Struct windows_sys::Devices::Usb::UsbReadOptions
[−]#[repr(transparent)]pub struct UsbReadOptions(pub u32);
Expand description
Required features: "Devices_Usb"
Tuple Fields
0: u32
Implementations
impl UsbReadOptions
impl UsbReadOptions
pub const None: Self = Self(0u32)
pub const AutoClearStall: Self = Self(1u32)
pub const OverrideAutomaticBufferManagement: Self = Self(2u32)
pub const IgnoreShortPacket: Self = Self(4u32)
pub const AllowPartialReads: Self = Self(8u32)
Trait Implementations
impl Clone for UsbReadOptions
impl Clone for UsbReadOptions
impl Copy for UsbReadOptions
Auto Trait Implementations
impl RefUnwindSafe for UsbReadOptions
impl Send for UsbReadOptions
impl Sync for UsbReadOptions
impl Unpin for UsbReadOptions
impl UnwindSafe for UsbReadOptions
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more