pub struct Capture { /* private fields */ }Expand description
Values for Capture.
Implementations§
Source§impl Capture
impl Capture
Sourcepub async fn next_frame(&mut self) -> CameraResult<Frame>
pub async fn next_frame(&mut self) -> CameraResult<Frame>
Performs the next_frame operation.
Sourcepub fn negotiated(&self) -> &NegotiatedCapture
pub fn negotiated(&self) -> &NegotiatedCapture
Performs the negotiated operation.
Sourcepub async fn close(&self) -> CameraResult<()>
pub async fn close(&self) -> CameraResult<()>
Performs the close operation.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Capture
impl !UnwindSafe for Capture
impl Freeze for Capture
impl Send for Capture
impl Sync for Capture
impl Unpin for Capture
impl UnsafeUnpin for Capture
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