pub struct ImagingSettings {
pub brightness: Option<f32>,
pub color_saturation: Option<f32>,
pub contrast: Option<f32>,
pub sharpness: Option<f32>,
pub white_balance_cr_gain: Option<f32>,
pub white_balance_cb_gain: Option<f32>,
}Expand description
Returned by ImagingService::get_imaging_settings(). Handler serializes to ImagingSettings XML. Only Some fields are emitted — None fields produce no XML element.
Fields§
§brightness: Option<f32>§color_saturation: Option<f32>§contrast: Option<f32>§sharpness: Option<f32>§white_balance_cr_gain: Option<f32>§white_balance_cb_gain: Option<f32>Trait Implementations§
Source§impl Clone for ImagingSettings
impl Clone for ImagingSettings
Source§fn clone(&self) -> ImagingSettings
fn clone(&self) -> ImagingSettings
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 ImagingSettings
impl Debug for ImagingSettings
Source§impl Default for ImagingSettings
impl Default for ImagingSettings
Source§fn default() -> ImagingSettings
fn default() -> ImagingSettings
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ImagingSettings
impl RefUnwindSafe for ImagingSettings
impl Send for ImagingSettings
impl Sync for ImagingSettings
impl Unpin for ImagingSettings
impl UnsafeUnpin for ImagingSettings
impl UnwindSafe for ImagingSettings
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