pub struct LibcameraCapture { /* private fields */ }Expand description
Placeholder libcamera capture source.
Implementations§
Source§impl LibcameraCapture
impl LibcameraCapture
Sourcepub fn new(descriptor: CaptureDescriptor) -> Self
pub fn new(descriptor: CaptureDescriptor) -> Self
Create a new libcamera capture source with the provided descriptor.
Trait Implementations§
Source§impl CaptureSource for LibcameraCapture
impl CaptureSource for LibcameraCapture
Source§fn descriptor(&self) -> &CaptureDescriptor
fn descriptor(&self) -> &CaptureDescriptor
Descriptor for this source.
Source§fn next_frame(&self) -> Option<FrameLease>
fn next_frame(&self) -> Option<FrameLease>
Pull the next frame; concrete backends decide how to block/yield.
Auto Trait Implementations§
impl Freeze for LibcameraCapture
impl RefUnwindSafe for LibcameraCapture
impl Send for LibcameraCapture
impl Sync for LibcameraCapture
impl Unpin for LibcameraCapture
impl UnwindSafe for LibcameraCapture
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