Struct windows_sys::Devices::Usb::UsbEndpointType
[−]#[repr(transparent)]pub struct UsbEndpointType(pub i32);
Expand description
Required features: "Devices_Usb"
Tuple Fields
0: i32
Implementations
impl UsbEndpointType
impl UsbEndpointType
pub const Control: Self = Self(0i32)
pub const Isochronous: Self = Self(1i32)
pub const Bulk: Self = Self(2i32)
pub const Interrupt: Self = Self(3i32)
Trait Implementations
impl Clone for UsbEndpointType
impl Clone for UsbEndpointType
impl Copy for UsbEndpointType
Auto Trait Implementations
impl RefUnwindSafe for UsbEndpointType
impl Send for UsbEndpointType
impl Sync for UsbEndpointType
impl Unpin for UsbEndpointType
impl UnwindSafe for UsbEndpointType
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