pub struct CameraInterface { /* private fields */ }Implementations§
Source§impl CameraInterface
impl CameraInterface
pub const fn is_available(self) -> bool
pub fn start(self) -> bool
pub fn stop(self) -> bool
pub fn capabilities(self) -> CameraCapabilities
pub const fn size(self) -> CameraFrameSize
Trait Implementations§
Source§impl Clone for CameraInterface
impl Clone for CameraInterface
Source§fn clone(&self) -> CameraInterface
fn clone(&self) -> CameraInterface
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CameraInterface
impl Debug for CameraInterface
Source§impl Default for CameraInterface
impl Default for CameraInterface
Source§fn default() -> CameraInterface
fn default() -> CameraInterface
Returns the “default value” for a type. Read more
impl Copy for CameraInterface
Auto Trait Implementations§
impl Freeze for CameraInterface
impl RefUnwindSafe for CameraInterface
impl Send for CameraInterface
impl Sync for CameraInterface
impl Unpin for CameraInterface
impl UnsafeUnpin for CameraInterface
impl UnwindSafe for CameraInterface
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