pub struct FrameSet { /* private fields */ }Expand description
A container of multiple frames.
Implementations§
Source§impl FrameSet
impl FrameSet
Sourcepub fn get_depth_frame(&self) -> Result<Option<VideoFrame>, OrbbecError>
pub fn get_depth_frame(&self) -> Result<Option<VideoFrame>, OrbbecError>
Get the depth frame from the frameset
Sourcepub fn get_color_frame(&self) -> Result<Option<VideoFrame>, OrbbecError>
pub fn get_color_frame(&self) -> Result<Option<VideoFrame>, OrbbecError>
Get the color frame from the frameset
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FrameSet
impl RefUnwindSafe for FrameSet
impl !Send for FrameSet
impl !Sync for FrameSet
impl Unpin for FrameSet
impl UnwindSafe for FrameSet
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