pub struct KinectSensor { /* private fields */ }Implementations§
Source§impl KinectSensor
impl KinectSensor
pub fn subscribe_is_available_changed( &self, waitable_handle: &mut WAITABLE_HANDLE, ) -> Result<(), Error>
pub fn unsubscribe_is_available_changed( &self, waitable_handle: WAITABLE_HANDLE, ) -> Result<(), Error>
pub fn get_is_available_changed_event_data( &self, waitable_handle: WAITABLE_HANDLE, ) -> Result<IsAvailableChangedEventArgs, Error>
pub fn open(&self) -> Result<(), Error>
pub fn close(&self) -> Result<(), Error>
pub fn is_open(&self) -> Result<bool, Error>
pub fn is_available(&self) -> Result<bool, Error>
pub fn color_frame_source(&self) -> Result<ColorFrameSource, Error>
pub fn depth_frame_source(&self) -> Result<DepthFrameSource, Error>
pub fn body_frame_source(&self) -> Result<BodyFrameSource, Error>
pub fn body_index_frame_source(&self) -> Result<BodyIndexFrameSource, Error>
pub fn infrared_frame_source(&self) -> Result<InfraredFrameSource, Error>
pub fn long_exposure_infrared_frame_source( &self, ) -> Result<LongExposureInfraredFrameSource, Error>
pub fn audio_source(&self) -> Result<AudioSource, Error>
pub fn open_multi_source_frame_reader( &self, enabled_frame_source_types: FrameSourceTypes, ) -> Result<MultiSourceFrameReader, Error>
pub fn coordinate_mapper(&self) -> Result<CoordinateMapper, Error>
pub fn unique_kinect_id(&self) -> Result<String, Error>
pub fn kinect_capabilities(&self) -> Result<ULONG, Error>
Trait Implementations§
Source§impl Clone for KinectSensor
impl Clone for KinectSensor
Source§fn clone(&self) -> KinectSensor
fn clone(&self) -> KinectSensor
Returns a duplicate of the value. Read more
1.0.0 · 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 KinectSensor
impl Debug for KinectSensor
Auto Trait Implementations§
impl Freeze for KinectSensor
impl RefUnwindSafe for KinectSensor
impl !Send for KinectSensor
impl !Sync for KinectSensor
impl Unpin for KinectSensor
impl UnwindSafe for KinectSensor
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