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§
Auto Trait Implementations§
impl Freeze for InfraredFrame
impl RefUnwindSafe for InfraredFrame
impl !Send for InfraredFrame
impl !Sync for InfraredFrame
impl Unpin 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