pub struct BodyFrameReader { /* private fields */ }Implementations§
Source§impl BodyFrameReader
impl BodyFrameReader
pub fn acquire_latest_frame(&self) -> Result<BodyFrame, Error>
pub fn subscribe_frame_arrived( &self, waitable_handle: &mut WAITABLE_HANDLE, ) -> Result<(), Error>
pub fn unsubscribe_frame_arrived( &self, handle: WAITABLE_HANDLE, ) -> Result<(), Error>
pub fn get_frame_arrived_event_data( &self, handle: WAITABLE_HANDLE, ) -> Result<BodyFrameArrivedEventArgs, Error>
pub fn get_is_paused(&self) -> Result<bool, Error>
pub fn put_is_paused(&self, is_paused: bool) -> Result<(), Error>
pub fn get_body_frame_source(&self) -> Result<BodyFrameSource, Error>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BodyFrameReader
impl RefUnwindSafe for BodyFrameReader
impl !Send for BodyFrameReader
impl !Sync for BodyFrameReader
impl Unpin for BodyFrameReader
impl UnwindSafe for BodyFrameReader
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