pub struct ColorFrameReader { /* private fields */ }Implementations§
Source§impl ColorFrameReader
impl ColorFrameReader
pub fn subscribe_frame_arrived( &self, waitable_handle: &mut WAITABLE_HANDLE, ) -> Result<(), 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<ColorFrameArrivedEventArgs, Error>
pub fn acquire_latest_frame(&self) -> Result<ColorFrame, Error>
pub fn get_is_paused(&self) -> Result<bool, Error>
pub fn put_is_paused(&self, is_paused: bool) -> Result<(), Error>
pub fn get_color_frame_source(&self) -> Result<ColorFrameSource, Error>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ColorFrameReader
impl RefUnwindSafe for ColorFrameReader
impl !Send for ColorFrameReader
impl !Sync for ColorFrameReader
impl Unpin for ColorFrameReader
impl UnwindSafe for ColorFrameReader
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