Struct libcamera::properties::ScalerCropMaximum
source · pub struct ScalerCropMaximum(pub Rectangle);
Expand description
The maximum valid rectangle for the controls::ScalerCrop control. This reflects the minimum mandatory cropping applied in the camera sensor and the rest of the pipeline. Just as the ScalerCrop control, it defines a rectangle taken from the sensor’s active pixel array.
This property is valid only after the camera has been successfully configured and its value may change whenever a new configuration is applied.
\todo Turn this property into a “maximum control value” for the ScalerCrop control once “dynamic” controls have been implemented.
Tuple Fields§
§0: Rectangle
Trait Implementations§
source§impl Clone for ScalerCropMaximum
impl Clone for ScalerCropMaximum
source§fn clone(&self) -> ScalerCropMaximum
fn clone(&self) -> ScalerCropMaximum
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 ControlEntry for ScalerCropMaximum
impl ControlEntry for ScalerCropMaximum
source§impl Debug for ScalerCropMaximum
impl Debug for ScalerCropMaximum
source§impl Deref for ScalerCropMaximum
impl Deref for ScalerCropMaximum
source§impl DerefMut for ScalerCropMaximum
impl DerefMut for ScalerCropMaximum
source§impl From<ScalerCropMaximum> for ControlValue
impl From<ScalerCropMaximum> for ControlValue
source§fn from(val: ScalerCropMaximum) -> Self
fn from(val: ScalerCropMaximum) -> Self
Converts to this type from the input type.
source§impl TryFrom<ControlValue> for ScalerCropMaximum
impl TryFrom<ControlValue> for ScalerCropMaximum
source§type Error = ControlValueError
type Error = ControlValueError
The type returned in the event of a conversion error.
impl Property for ScalerCropMaximum
Auto Trait Implementations§
impl Freeze for ScalerCropMaximum
impl RefUnwindSafe for ScalerCropMaximum
impl Send for ScalerCropMaximum
impl Sync for ScalerCropMaximum
impl Unpin for ScalerCropMaximum
impl UnwindSafe for ScalerCropMaximum
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
)