Struct rust_hdl_ok_frontpanel_sys::okTDeviceInfo[][src]

#[repr(C)]
pub struct okTDeviceInfo {
Show 25 fields pub deviceID: [c_char; 33], pub serialNumber: [c_char; 11], pub productName: [c_char; 128], pub productID: c_int, pub deviceInterface: okEDeviceInterface, pub usbSpeed: okEUSBSpeed, pub deviceMajorVersion: c_int, pub deviceMinorVersion: c_int, pub hostInterfaceMajorVersion: c_int, pub hostInterfaceMinorVersion: c_int, pub isPLL22150Supported: okBool, pub isPLL22393Supported: okBool, pub isFrontPanelEnabled: okBool, pub wireWidth: c_int, pub triggerWidth: c_int, pub pipeWidth: c_int, pub registerAddressWidth: c_int, pub registerDataWidth: c_int, pub flashSystem: okTFlashLayout, pub flashFPGA: okTFlashLayout, pub hasFMCEEPROM: okBool, pub hasResetProfiles: okBool, pub fpgaVendor: okEFPGAVendor, pub interfaceCount: c_int, pub interfaceIndex: c_int,
}

Fields

deviceID: [c_char; 33]serialNumber: [c_char; 11]productName: [c_char; 128]productID: c_intdeviceInterface: okEDeviceInterfaceusbSpeed: okEUSBSpeeddeviceMajorVersion: c_intdeviceMinorVersion: c_inthostInterfaceMajorVersion: c_inthostInterfaceMinorVersion: c_intisPLL22150Supported: okBoolisPLL22393Supported: okBoolisFrontPanelEnabled: okBoolwireWidth: c_inttriggerWidth: c_intpipeWidth: c_intregisterAddressWidth: c_intregisterDataWidth: c_intflashSystem: okTFlashLayoutflashFPGA: okTFlashLayouthasFMCEEPROM: okBoolhasResetProfiles: okBoolfpgaVendor: okEFPGAVendorinterfaceCount: c_intinterfaceIndex: c_int

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.