IKinectSensorVtbl

Struct IKinectSensorVtbl 

Source
#[repr(C)]
pub struct IKinectSensorVtbl {
Show 21 fields pub QueryInterface: Option<unsafe extern "C" fn(This: *mut IKinectSensor, riid: *const IID, ppvObject: *mut *mut c_void) -> HRESULT>, pub AddRef: Option<unsafe extern "C" fn(This: *mut IKinectSensor) -> ULONG>, pub Release: Option<unsafe extern "C" fn(This: *mut IKinectSensor) -> ULONG>, pub SubscribeIsAvailableChanged: Option<unsafe extern "C" fn(This: *mut IKinectSensor, waitableHandle: *mut WAITABLE_HANDLE) -> HRESULT>, pub UnsubscribeIsAvailableChanged: Option<unsafe extern "C" fn(This: *mut IKinectSensor, waitableHandle: WAITABLE_HANDLE) -> HRESULT>, pub GetIsAvailableChangedEventData: Option<unsafe extern "C" fn(This: *mut IKinectSensor, waitableHandle: WAITABLE_HANDLE, eventData: *mut *mut IIsAvailableChangedEventArgs) -> HRESULT>, pub Open: Option<unsafe extern "C" fn(This: *mut IKinectSensor) -> HRESULT>, pub Close: Option<unsafe extern "C" fn(This: *mut IKinectSensor) -> HRESULT>, pub get_IsOpen: Option<unsafe extern "C" fn(This: *mut IKinectSensor, isOpen: *mut BOOLEAN) -> HRESULT>, pub get_IsAvailable: Option<unsafe extern "C" fn(This: *mut IKinectSensor, isAvailable: *mut BOOLEAN) -> HRESULT>, pub get_ColorFrameSource: Option<unsafe extern "C" fn(This: *mut IKinectSensor, colorFrameSource: *mut *mut IColorFrameSource) -> HRESULT>, pub get_DepthFrameSource: Option<unsafe extern "C" fn(This: *mut IKinectSensor, depthFrameSource: *mut *mut IDepthFrameSource) -> HRESULT>, pub get_BodyFrameSource: Option<unsafe extern "C" fn(This: *mut IKinectSensor, bodyFrameSource: *mut *mut IBodyFrameSource) -> HRESULT>, pub get_BodyIndexFrameSource: Option<unsafe extern "C" fn(This: *mut IKinectSensor, bodyIndexFrameSource: *mut *mut IBodyIndexFrameSource) -> HRESULT>, pub get_InfraredFrameSource: Option<unsafe extern "C" fn(This: *mut IKinectSensor, infraredFrameSource: *mut *mut IInfraredFrameSource) -> HRESULT>, pub get_LongExposureInfraredFrameSource: Option<unsafe extern "C" fn(This: *mut IKinectSensor, longExposureInfraredFrameSource: *mut *mut ILongExposureInfraredFrameSource) -> HRESULT>, pub get_AudioSource: Option<unsafe extern "C" fn(This: *mut IKinectSensor, audioSource: *mut *mut IAudioSource) -> HRESULT>, pub OpenMultiSourceFrameReader: Option<unsafe extern "C" fn(This: *mut IKinectSensor, enabledFrameSourceTypes: FrameSourceTypes, multiSourceFrameReader: *mut *mut IMultiSourceFrameReader) -> HRESULT>, pub get_CoordinateMapper: Option<unsafe extern "C" fn(This: *mut IKinectSensor, coordinateMapper: *mut *mut ICoordinateMapper) -> HRESULT>, pub get_UniqueKinectId: Option<unsafe extern "C" fn(This: *mut IKinectSensor, bufferSize: UINT, uniqueKinectId: *mut WCHAR) -> HRESULT>, pub get_KinectCapabilities: Option<unsafe extern "C" fn(This: *mut IKinectSensor, capabilities: *mut ULONG) -> HRESULT>,
}

Fields§

§QueryInterface: Option<unsafe extern "C" fn(This: *mut IKinectSensor, riid: *const IID, ppvObject: *mut *mut c_void) -> HRESULT>§AddRef: Option<unsafe extern "C" fn(This: *mut IKinectSensor) -> ULONG>§Release: Option<unsafe extern "C" fn(This: *mut IKinectSensor) -> ULONG>§SubscribeIsAvailableChanged: Option<unsafe extern "C" fn(This: *mut IKinectSensor, waitableHandle: *mut WAITABLE_HANDLE) -> HRESULT>§UnsubscribeIsAvailableChanged: Option<unsafe extern "C" fn(This: *mut IKinectSensor, waitableHandle: WAITABLE_HANDLE) -> HRESULT>§GetIsAvailableChangedEventData: Option<unsafe extern "C" fn(This: *mut IKinectSensor, waitableHandle: WAITABLE_HANDLE, eventData: *mut *mut IIsAvailableChangedEventArgs) -> HRESULT>§Open: Option<unsafe extern "C" fn(This: *mut IKinectSensor) -> HRESULT>§Close: Option<unsafe extern "C" fn(This: *mut IKinectSensor) -> HRESULT>§get_IsOpen: Option<unsafe extern "C" fn(This: *mut IKinectSensor, isOpen: *mut BOOLEAN) -> HRESULT>§get_IsAvailable: Option<unsafe extern "C" fn(This: *mut IKinectSensor, isAvailable: *mut BOOLEAN) -> HRESULT>§get_ColorFrameSource: Option<unsafe extern "C" fn(This: *mut IKinectSensor, colorFrameSource: *mut *mut IColorFrameSource) -> HRESULT>§get_DepthFrameSource: Option<unsafe extern "C" fn(This: *mut IKinectSensor, depthFrameSource: *mut *mut IDepthFrameSource) -> HRESULT>§get_BodyFrameSource: Option<unsafe extern "C" fn(This: *mut IKinectSensor, bodyFrameSource: *mut *mut IBodyFrameSource) -> HRESULT>§get_BodyIndexFrameSource: Option<unsafe extern "C" fn(This: *mut IKinectSensor, bodyIndexFrameSource: *mut *mut IBodyIndexFrameSource) -> HRESULT>§get_InfraredFrameSource: Option<unsafe extern "C" fn(This: *mut IKinectSensor, infraredFrameSource: *mut *mut IInfraredFrameSource) -> HRESULT>§get_LongExposureInfraredFrameSource: Option<unsafe extern "C" fn(This: *mut IKinectSensor, longExposureInfraredFrameSource: *mut *mut ILongExposureInfraredFrameSource) -> HRESULT>§get_AudioSource: Option<unsafe extern "C" fn(This: *mut IKinectSensor, audioSource: *mut *mut IAudioSource) -> HRESULT>§OpenMultiSourceFrameReader: Option<unsafe extern "C" fn(This: *mut IKinectSensor, enabledFrameSourceTypes: FrameSourceTypes, multiSourceFrameReader: *mut *mut IMultiSourceFrameReader) -> HRESULT>§get_CoordinateMapper: Option<unsafe extern "C" fn(This: *mut IKinectSensor, coordinateMapper: *mut *mut ICoordinateMapper) -> HRESULT>§get_UniqueKinectId: Option<unsafe extern "C" fn(This: *mut IKinectSensor, bufferSize: UINT, uniqueKinectId: *mut WCHAR) -> HRESULT>§get_KinectCapabilities: Option<unsafe extern "C" fn(This: *mut IKinectSensor, capabilities: *mut ULONG) -> HRESULT>

Trait Implementations§

Source§

impl Debug for IKinectSensorVtbl

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for IKinectSensorVtbl

Source§

fn default() -> IKinectSensorVtbl

Returns the “default value” for a type. Read more

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> 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>,

Source§

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>,

Source§

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.