#[repr(transparent)]pub struct USBReEnumerateOptions(pub c_int);Available on crate features
USB and usb only.Expand description
Options used when calling ReEnumerateDevice.
any drivers attached to a Mass Storage Class IOUSBInterface. A client needs to have the appropriate permissions in order to specify this bit. See IOUSBLib.h
See also Apple’s documentation
Tuple Fields§
§0: c_intImplementations§
Source§impl USBReEnumerateOptions
impl USBReEnumerateOptions
pub const AddExtraResetTimeBit: Self
pub const ReEnumerateCaptureDeviceBit: Self
pub const ReEnumerateReleaseDeviceBit: Self
pub const AddExtraResetTimeMask: Self
pub const ReEnumerateCaptureDeviceMask: Self
pub const ReEnumerateReleaseDeviceMask: Self
Trait Implementations§
Source§impl Clone for USBReEnumerateOptions
impl Clone for USBReEnumerateOptions
Source§fn clone(&self) -> USBReEnumerateOptions
fn clone(&self) -> USBReEnumerateOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for USBReEnumerateOptions
impl Debug for USBReEnumerateOptions
Source§impl Encode for USBReEnumerateOptions
Available on crate feature objc2 only.
impl Encode for USBReEnumerateOptions
Available on crate feature
objc2 only.Source§impl Hash for USBReEnumerateOptions
impl Hash for USBReEnumerateOptions
Source§impl Ord for USBReEnumerateOptions
impl Ord for USBReEnumerateOptions
Source§fn cmp(&self, other: &USBReEnumerateOptions) -> Ordering
fn cmp(&self, other: &USBReEnumerateOptions) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for USBReEnumerateOptions
impl PartialEq for USBReEnumerateOptions
Source§impl PartialOrd for USBReEnumerateOptions
impl PartialOrd for USBReEnumerateOptions
Source§impl RefEncode for USBReEnumerateOptions
Available on crate feature objc2 only.
impl RefEncode for USBReEnumerateOptions
Available on crate feature
objc2 only.Source§const ENCODING_REF: Encoding
const ENCODING_REF: Encoding
The Objective-C type-encoding for a reference of this type. Read more
impl Copy for USBReEnumerateOptions
impl Eq for USBReEnumerateOptions
impl StructuralPartialEq for USBReEnumerateOptions
Auto Trait Implementations§
impl Freeze for USBReEnumerateOptions
impl RefUnwindSafe for USBReEnumerateOptions
impl Send for USBReEnumerateOptions
impl Sync for USBReEnumerateOptions
impl Unpin for USBReEnumerateOptions
impl UnwindSafe for USBReEnumerateOptions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> EncodeArgument for Twhere
T: Encode,
impl<T> EncodeArgument for Twhere
T: Encode,
Source§const ENCODING_ARGUMENT: Encoding = T::ENCODING
const ENCODING_ARGUMENT: Encoding = T::ENCODING
The Objective-C type-encoding for this type.
Source§impl<T> EncodeReturn for Twhere
T: Encode,
impl<T> EncodeReturn for Twhere
T: Encode,
Source§const ENCODING_RETURN: Encoding = T::ENCODING
const ENCODING_RETURN: Encoding = T::ENCODING
The Objective-C type-encoding for this type.