#[repr(C)]pub struct CMDeviceInfo {
pub dataVersion: UInt32,
pub deviceClass: CMDeviceClass,
pub deviceID: CMDeviceID,
pub deviceScope: CMDeviceScope,
pub deviceState: CMDeviceState,
pub defaultProfileID: CMDeviceProfileID,
pub deviceName: *mut CFDictionaryRef,
pub profileCount: UInt32,
pub reserved: UInt32,
}Expand description
Apple SDK struct CMDeviceInfo.
Fields§
§dataVersion: UInt32§deviceClass: CMDeviceClass§deviceID: CMDeviceID§deviceScope: CMDeviceScope§deviceState: CMDeviceState§defaultProfileID: CMDeviceProfileID§deviceName: *mut CFDictionaryRef§profileCount: UInt32§reserved: UInt32Trait Implementations§
Source§impl Clone for CMDeviceInfo
impl Clone for CMDeviceInfo
Source§fn clone(&self) -> CMDeviceInfo
fn clone(&self) -> CMDeviceInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CMDeviceInfo
impl Debug for CMDeviceInfo
impl Copy for CMDeviceInfo
Auto Trait Implementations§
impl Freeze for CMDeviceInfo
impl RefUnwindSafe for CMDeviceInfo
impl !Send for CMDeviceInfo
impl !Sync for CMDeviceInfo
impl Unpin for CMDeviceInfo
impl UnsafeUnpin for CMDeviceInfo
impl UnwindSafe for CMDeviceInfo
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