Struct ndk_sys::camera_status_t
source · #[repr(transparent)]pub struct camera_status_t(pub c_int);
Tuple Fields§
§0: c_int
Implementations§
source§impl camera_status_t
impl camera_status_t
pub const ACAMERA_OK: camera_status_t = _
source§impl camera_status_t
impl camera_status_t
pub const ACAMERA_ERROR_BASE: camera_status_t = _
source§impl camera_status_t
impl camera_status_t
pub const ACAMERA_ERROR_UNKNOWN: camera_status_t = _
source§impl camera_status_t
impl camera_status_t
pub const ACAMERA_ERROR_INVALID_PARAMETER: camera_status_t = _
source§impl camera_status_t
impl camera_status_t
pub const ACAMERA_ERROR_CAMERA_DISCONNECTED: camera_status_t = _
source§impl camera_status_t
impl camera_status_t
pub const ACAMERA_ERROR_NOT_ENOUGH_MEMORY: camera_status_t = _
source§impl camera_status_t
impl camera_status_t
pub const ACAMERA_ERROR_METADATA_NOT_FOUND: camera_status_t = _
source§impl camera_status_t
impl camera_status_t
pub const ACAMERA_ERROR_CAMERA_DEVICE: camera_status_t = _
source§impl camera_status_t
impl camera_status_t
pub const ACAMERA_ERROR_CAMERA_SERVICE: camera_status_t = _
source§impl camera_status_t
impl camera_status_t
pub const ACAMERA_ERROR_SESSION_CLOSED: camera_status_t = _
source§impl camera_status_t
impl camera_status_t
pub const ACAMERA_ERROR_INVALID_OPERATION: camera_status_t = _
source§impl camera_status_t
impl camera_status_t
pub const ACAMERA_ERROR_STREAM_CONFIGURE_FAIL: camera_status_t = _
source§impl camera_status_t
impl camera_status_t
pub const ACAMERA_ERROR_CAMERA_IN_USE: camera_status_t = _
source§impl camera_status_t
impl camera_status_t
pub const ACAMERA_ERROR_MAX_CAMERA_IN_USE: camera_status_t = _
source§impl camera_status_t
impl camera_status_t
pub const ACAMERA_ERROR_CAMERA_DISABLED: camera_status_t = _
source§impl camera_status_t
impl camera_status_t
pub const ACAMERA_ERROR_PERMISSION_DENIED: camera_status_t = _
source§impl camera_status_t
impl camera_status_t
pub const ACAMERA_ERROR_UNSUPPORTED_OPERATION: camera_status_t = _
Trait Implementations§
source§impl Clone for camera_status_t
impl Clone for camera_status_t
source§fn clone(&self) -> camera_status_t
fn clone(&self) -> camera_status_t
Returns a copy 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 Debug for camera_status_t
impl Debug for camera_status_t
source§impl Hash for camera_status_t
impl Hash for camera_status_t
source§impl PartialEq for camera_status_t
impl PartialEq for camera_status_t
source§fn eq(&self, other: &camera_status_t) -> bool
fn eq(&self, other: &camera_status_t) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for camera_status_t
impl Eq for camera_status_t
impl StructuralPartialEq for camera_status_t
Auto Trait Implementations§
impl Freeze for camera_status_t
impl RefUnwindSafe for camera_status_t
impl Send for camera_status_t
impl Sync for camera_status_t
impl Unpin for camera_status_t
impl UnwindSafe for camera_status_t
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