pub struct Device(/* private fields */);Expand description
Values for Device.
Implementations§
Source§impl Device
impl Device
Sourcepub fn info(&self) -> &DeviceInfo
pub fn info(&self) -> &DeviceInfo
Performs the info operation.
Sourcepub fn start(&mut self, request: CaptureRequest) -> CameraResult<Session>
pub fn start(&mut self, request: CaptureRequest) -> CameraResult<Session>
Performs the start operation.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Device
impl !UnwindSafe for Device
impl Forget for Device
impl Freeze for Device
impl Send for Device
impl Sync for Device
impl Unpin for Device
impl UnsafeUnpin for Device
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