pub struct InfraredFrame { /* private fields */ }Expand description
InfraredFrame represents a single frame of infrared data.
Implementations§
Source§impl InfraredFrame
impl InfraredFrame
pub fn copy_frame_data_to_array( &self, frame_data: &mut [u16], ) -> Result<(), Error>
pub fn access_underlying_buffer(&self) -> Result<&[u16], Error>
pub fn get_frame_description(&self) -> Result<FrameDescription, Error>
pub fn get_relative_time(&self) -> Result<TIMESPAN, Error>
pub fn get_infrared_frame_source(&self) -> Result<InfraredFrameSource, Error>
Trait Implementations§
Source§impl Drop for InfraredFrame
impl Drop for InfraredFrame
Auto Trait Implementations§
impl !Send for InfraredFrame
impl !Sync for InfraredFrame
impl Freeze for InfraredFrame
impl RefUnwindSafe for InfraredFrame
impl Unpin for InfraredFrame
impl UnsafeUnpin for InfraredFrame
impl UnwindSafe for InfraredFrame
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