pub struct ColorFrameSource { /* private fields */ }Implementations§
Source§impl ColorFrameSource
impl ColorFrameSource
pub fn subscribe_frame_captured( &self, waitable_handle: &mut WAITABLE_HANDLE, ) -> Result<(), Error>
pub fn unsubscribe_frame_captured( &self, waitable_handle: WAITABLE_HANDLE, ) -> Result<(), Error>
pub fn get_frame_captured_event_data( &self, waitable_handle: WAITABLE_HANDLE, ) -> Result<FrameCapturedEventArgs, Error>
pub fn get_is_active(&self) -> Result<bool, Error>
pub fn open_reader(&self) -> Result<ColorFrameReader, Error>
pub fn create_frame_description( &self, format: ColorImageFormat, ) -> Result<FrameDescription, Error>
pub fn get_frame_description(&self) -> Result<FrameDescription, Error>
pub fn get_kinect_sensor(&self) -> Result<KinectSensor, Error>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ColorFrameSource
impl RefUnwindSafe for ColorFrameSource
impl !Send for ColorFrameSource
impl !Sync for ColorFrameSource
impl Unpin for ColorFrameSource
impl UnwindSafe for ColorFrameSource
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