struct Camera {
device: Locked<Device>,
video_capture_device: Device,
video_capture_entity: MediaV2Entity,
sensor_entity: MediaV2Entity,
}
Fields§
§device: Locked<Device>
Keeps the media device exclusively acquired for modification.
video_capture_device: Device
§video_capture_entity: MediaV2Entity
§sensor_entity: MediaV2Entity
Trait Implementations§
Source§impl CameraImpl for Camera
impl CameraImpl for Camera
Source§fn video_capture_device(&self) -> &Device
fn video_capture_device(&self) -> &Device
Return the video capture device. Private interface
Source§fn media_device(&self) -> &Device
fn media_device(&self) -> &Device
Return the media device
Source§fn media_device_mut(&mut self) -> &mut Device
fn media_device_mut(&mut self) -> &mut Device
Return the media device
fn video_capture_entity(&self) -> &MediaV2Entity
fn sensor_entity(&self) -> &MediaV2Entity
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