pub struct DepthFrameReader { /* private fields */ }Implementations§
Source§impl DepthFrameReader
impl DepthFrameReader
pub fn subscribe_frame_arrived(&self) -> Result<WAITABLE_HANDLE, Error>
pub fn unsubscribe_frame_arrived( &self, waitable_handle: WAITABLE_HANDLE, ) -> Result<(), Error>
pub fn get_frame_arrived_event_data( &self, waitable_handle: WAITABLE_HANDLE, ) -> Result<DepthFrameArrivedEventArgs, Error>
pub fn acquire_latest_frame(&self) -> Result<DepthFrame, Error>
pub fn get_is_paused(&self) -> Result<bool, Error>
pub fn set_is_paused(&self, is_paused: bool) -> Result<(), Error>
pub fn get_depth_frame_source(&self) -> Result<DepthFrameSource, Error>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DepthFrameReader
impl RefUnwindSafe for DepthFrameReader
impl !Send for DepthFrameReader
impl !Sync for DepthFrameReader
impl Unpin for DepthFrameReader
impl UnwindSafe for DepthFrameReader
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