struct Camera {
device: Locked<Device>,
video_capture_device: Device,
}
Fields§
§device: Locked<Device>
§video_capture_device: Device
Trait Implementations§
source§impl CameraImpl for Camera
impl CameraImpl for Camera
source§fn configure(&self, config: Config) -> Result<(), Error>
fn configure(&self, config: Config) -> Result<(), Error>
Set configuration (TODO: the Config is nearly useless now)
source§fn video_capture_device(&self) -> &Device
fn video_capture_device(&self) -> &Device
Return the video capture device. Private interface
source§fn stream_manual(&self, buffer_count: usize) -> Result<StreamManual, Error>
fn stream_manual(&self, buffer_count: usize) -> Result<StreamManual, Error>
Create a stream with manual buffer control.
Auto Trait Implementations§
impl Freeze for Camera
impl RefUnwindSafe for Camera
impl Send for Camera
impl Sync for Camera
impl Unpin for Camera
impl UnwindSafe for Camera
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