#[repr(C)]pub struct DaqDeviceDescriptor {
pub productName: [c_char; 64],
pub productId: c_uint,
pub devInterface: DaqDeviceInterface,
pub devString: [c_char; 64],
pub uniqueId: [c_char; 64],
pub reserved: [c_char; 512],
}Expand description
\brief A structure that defines a particular DAQ device, usually obtained using ulGetDaqDeviceInventory().
The struct contains fields with the product name, ID, and interface.
Fields§
§productName: [c_char; 64]The generic (unqualified) product name of the device referenced by the DaqDeviceDescriptor
productId: c_uintThe numeric string indicating the product type referenced by the DaqDeviceDescriptor.
devInterface: DaqDeviceInterfaceThe enumeration indicating the type of interface in use by the device referenced by the DaqDeviceDescriptor.
devString: [c_char; 64]Similar to \p productname, but may contain additional information.
uniqueId: [c_char; 64]A string that uniquely identifies a specific device, usually with a serial number or MAC address.
reserved: [c_char; 512]Reserved for future use
Trait Implementations§
Source§impl Clone for DaqDeviceDescriptor
impl Clone for DaqDeviceDescriptor
Source§fn clone(&self) -> DaqDeviceDescriptor
fn clone(&self) -> DaqDeviceDescriptor
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 moreimpl Copy for DaqDeviceDescriptor
Auto Trait Implementations§
impl Freeze for DaqDeviceDescriptor
impl RefUnwindSafe for DaqDeviceDescriptor
impl Send for DaqDeviceDescriptor
impl Sync for DaqDeviceDescriptor
impl Unpin for DaqDeviceDescriptor
impl UnsafeUnpin for DaqDeviceDescriptor
impl UnwindSafe for DaqDeviceDescriptor
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