pub struct PassthroughCameraStateANDROID(/* private fields */);Expand description
Implementations§
Source§impl PassthroughCameraStateANDROID
impl PassthroughCameraStateANDROID
Sourcepub const DISABLED: PassthroughCameraStateANDROID
pub const DISABLED: PassthroughCameraStateANDROID
The camera has been disabled by an app, the system or the user.
Sourcepub const INITIALIZING: PassthroughCameraStateANDROID
pub const INITIALIZING: PassthroughCameraStateANDROID
The camera is still coming online and not yet ready to use. The runtime may: render a black background where the passthrough video is supposed to appear.
Sourcepub const READY: PassthroughCameraStateANDROID
pub const READY: PassthroughCameraStateANDROID
The camera is ready to use.
Sourcepub const ERROR: PassthroughCameraStateANDROID
pub const ERROR: PassthroughCameraStateANDROID
The camera is in an unrecoverable error state.
pub fn from_raw(x: i32) -> Self
pub fn into_raw(self) -> i32
Trait Implementations§
Source§impl Clone for PassthroughCameraStateANDROID
impl Clone for PassthroughCameraStateANDROID
Source§fn clone(&self) -> PassthroughCameraStateANDROID
fn clone(&self) -> PassthroughCameraStateANDROID
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for PassthroughCameraStateANDROID
impl Default for PassthroughCameraStateANDROID
Source§fn default() -> PassthroughCameraStateANDROID
fn default() -> PassthroughCameraStateANDROID
Returns the “default value” for a type. Read more
Source§impl PartialEq for PassthroughCameraStateANDROID
impl PartialEq for PassthroughCameraStateANDROID
Source§fn eq(&self, other: &PassthroughCameraStateANDROID) -> bool
fn eq(&self, other: &PassthroughCameraStateANDROID) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for PassthroughCameraStateANDROID
impl Eq for PassthroughCameraStateANDROID
impl StructuralPartialEq for PassthroughCameraStateANDROID
Auto Trait Implementations§
impl Freeze for PassthroughCameraStateANDROID
impl RefUnwindSafe for PassthroughCameraStateANDROID
impl Send for PassthroughCameraStateANDROID
impl Sync for PassthroughCameraStateANDROID
impl Unpin for PassthroughCameraStateANDROID
impl UnwindSafe for PassthroughCameraStateANDROID
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