pub enum CameraConfigurationStatus {
Valid,
Adjusted,
Invalid,
}
Expand description
Status of CameraConfiguration
Variants§
Valid
Camera configuration was validated without issues.
Adjusted
Camera configuration is valid, but some of the fields were adjusted by libcamera.
Invalid
Camera configuration is invalid.
Implementations§
source§impl CameraConfigurationStatus
impl CameraConfigurationStatus
pub fn is_valid(&self) -> bool
pub fn is_adjusted(&self) -> bool
pub fn is_invalid(&self) -> bool
Trait Implementations§
source§impl Clone for CameraConfigurationStatus
impl Clone for CameraConfigurationStatus
source§fn clone(&self) -> CameraConfigurationStatus
fn clone(&self) -> CameraConfigurationStatus
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 CameraConfigurationStatus
impl Debug for CameraConfigurationStatus
source§impl TryFrom<u32> for CameraConfigurationStatus
impl TryFrom<u32> for CameraConfigurationStatus
impl Copy for CameraConfigurationStatus
Auto Trait Implementations§
impl Freeze for CameraConfigurationStatus
impl RefUnwindSafe for CameraConfigurationStatus
impl Send for CameraConfigurationStatus
impl Sync for CameraConfigurationStatus
impl Unpin for CameraConfigurationStatus
impl UnwindSafe for CameraConfigurationStatus
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)