#[repr(C, packed(2))]pub struct CMMakeAndModel {
pub manufacturer: OSType,
pub model: UInt32,
pub serialNumber: UInt32,
pub manufactureDate: UInt32,
pub reserved1: UInt32,
pub reserved2: UInt32,
pub reserved3: UInt32,
pub reserved4: UInt32,
}Expand description
Apple SDK struct CMMakeAndModel.
Fields§
§manufacturer: OSType§model: UInt32§serialNumber: UInt32§manufactureDate: UInt32§reserved1: UInt32§reserved2: UInt32§reserved3: UInt32§reserved4: UInt32Trait Implementations§
Source§impl Clone for CMMakeAndModel
impl Clone for CMMakeAndModel
Source§fn clone(&self) -> CMMakeAndModel
fn clone(&self) -> CMMakeAndModel
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 CMMakeAndModel
impl Debug for CMMakeAndModel
impl Copy for CMMakeAndModel
Auto Trait Implementations§
impl Freeze for CMMakeAndModel
impl RefUnwindSafe for CMMakeAndModel
impl Send for CMMakeAndModel
impl Sync for CMMakeAndModel
impl Unpin for CMMakeAndModel
impl UnsafeUnpin for CMMakeAndModel
impl UnwindSafe for CMMakeAndModel
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