#[repr(C)]
pub struct WINBIO_SENSOR_INTERFACE {
Show 35 fields pub Version: WINBIO_ADAPTER_INTERFACE_VERSION, pub Type: u32, pub Size: usize, pub AdapterId: GUID, pub Attach: PIBIO_SENSOR_ATTACH_FN, pub Detach: PIBIO_SENSOR_DETACH_FN, pub ClearContext: PIBIO_SENSOR_CLEAR_CONTEXT_FN, pub QueryStatus: PIBIO_SENSOR_QUERY_STATUS_FN, pub Reset: PIBIO_SENSOR_RESET_FN, pub SetMode: PIBIO_SENSOR_SET_MODE_FN, pub SetIndicatorStatus: PIBIO_SENSOR_SET_INDICATOR_STATUS_FN, pub GetIndicatorStatus: PIBIO_SENSOR_GET_INDICATOR_STATUS_FN, pub StartCapture: PIBIO_SENSOR_START_CAPTURE_FN, pub FinishCapture: PIBIO_SENSOR_FINISH_CAPTURE_FN, pub ExportSensorData: PIBIO_SENSOR_EXPORT_SENSOR_DATA_FN, pub Cancel: PIBIO_SENSOR_CANCEL_FN, pub PushDataToEngine: PIBIO_SENSOR_PUSH_DATA_TO_ENGINE_FN, pub ControlUnit: PIBIO_SENSOR_CONTROL_UNIT_FN, pub ControlUnitPrivileged: PIBIO_SENSOR_CONTROL_UNIT_PRIVILEGED_FN, pub NotifyPowerChange: PIBIO_SENSOR_NOTIFY_POWER_CHANGE_FN, pub PipelineInit: PIBIO_SENSOR_PIPELINE_INIT_FN, pub PipelineCleanup: PIBIO_SENSOR_PIPELINE_CLEANUP_FN, pub Activate: PIBIO_SENSOR_ACTIVATE_FN, pub Deactivate: PIBIO_SENSOR_DEACTIVATE_FN, pub QueryExtendedInfo: PIBIO_SENSOR_QUERY_EXTENDED_INFO_FN, pub QueryCalibrationFormats: PIBIO_SENSOR_QUERY_CALIBRATION_FORMATS_FN, pub SetCalibrationFormat: PIBIO_SENSOR_SET_CALIBRATION_FORMAT_FN, pub AcceptCalibrationData: PIBIO_SENSOR_ACCEPT_CALIBRATION_DATA_FN, pub AsyncImportRawBuffer: PIBIO_SENSOR_ASYNC_IMPORT_RAW_BUFFER_FN, pub AsyncImportSecureBuffer: PIBIO_SENSOR_ASYNC_IMPORT_SECURE_BUFFER_FN, pub QueryPrivateSensorType: PIBIO_SENSOR_QUERY_PRIVATE_SENSOR_TYPE_FN, pub ConnectSecure: PIBIO_SENSOR_CONNECT_SECURE_FN, pub StartCaptureEx: PIBIO_SENSOR_START_CAPTURE_EX_FN, pub StartNotifyWake: PIBIO_SENSOR_START_NOTIFY_WAKE_FN, pub FinishNotifyWake: PIBIO_SENSOR_FINISH_NOTIFY_WAKE_FN,
}

Fields§

§Version: WINBIO_ADAPTER_INTERFACE_VERSION§Type: u32§Size: usize§AdapterId: GUID§Attach: PIBIO_SENSOR_ATTACH_FN§Detach: PIBIO_SENSOR_DETACH_FN§ClearContext: PIBIO_SENSOR_CLEAR_CONTEXT_FN§QueryStatus: PIBIO_SENSOR_QUERY_STATUS_FN§Reset: PIBIO_SENSOR_RESET_FN§SetMode: PIBIO_SENSOR_SET_MODE_FN§SetIndicatorStatus: PIBIO_SENSOR_SET_INDICATOR_STATUS_FN§GetIndicatorStatus: PIBIO_SENSOR_GET_INDICATOR_STATUS_FN§StartCapture: PIBIO_SENSOR_START_CAPTURE_FN§FinishCapture: PIBIO_SENSOR_FINISH_CAPTURE_FN§ExportSensorData: PIBIO_SENSOR_EXPORT_SENSOR_DATA_FN§Cancel: PIBIO_SENSOR_CANCEL_FN§PushDataToEngine: PIBIO_SENSOR_PUSH_DATA_TO_ENGINE_FN§ControlUnit: PIBIO_SENSOR_CONTROL_UNIT_FN§ControlUnitPrivileged: PIBIO_SENSOR_CONTROL_UNIT_PRIVILEGED_FN§NotifyPowerChange: PIBIO_SENSOR_NOTIFY_POWER_CHANGE_FN§PipelineInit: PIBIO_SENSOR_PIPELINE_INIT_FN§PipelineCleanup: PIBIO_SENSOR_PIPELINE_CLEANUP_FN§Activate: PIBIO_SENSOR_ACTIVATE_FN§Deactivate: PIBIO_SENSOR_DEACTIVATE_FN§QueryExtendedInfo: PIBIO_SENSOR_QUERY_EXTENDED_INFO_FN§QueryCalibrationFormats: PIBIO_SENSOR_QUERY_CALIBRATION_FORMATS_FN§SetCalibrationFormat: PIBIO_SENSOR_SET_CALIBRATION_FORMAT_FN§AcceptCalibrationData: PIBIO_SENSOR_ACCEPT_CALIBRATION_DATA_FN§AsyncImportRawBuffer: PIBIO_SENSOR_ASYNC_IMPORT_RAW_BUFFER_FN§AsyncImportSecureBuffer: PIBIO_SENSOR_ASYNC_IMPORT_SECURE_BUFFER_FN§QueryPrivateSensorType: PIBIO_SENSOR_QUERY_PRIVATE_SENSOR_TYPE_FN§ConnectSecure: PIBIO_SENSOR_CONNECT_SECURE_FN§StartCaptureEx: PIBIO_SENSOR_START_CAPTURE_EX_FN§StartNotifyWake: PIBIO_SENSOR_START_NOTIFY_WAKE_FN§FinishNotifyWake: PIBIO_SENSOR_FINISH_NOTIFY_WAKE_FN

Trait Implementations§

§

impl Clone for WINBIO_SENSOR_INTERFACE

§

fn clone(&self) -> WINBIO_SENSOR_INTERFACE

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Copy for WINBIO_SENSOR_INTERFACE

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where T: Clone,

source§

default unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> CloneToUninit for T
where T: Copy,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.