pub struct ColorLimits {
pub red_min: Option<RecordValue>,
pub red_max: Option<RecordValue>,
pub green_min: Option<RecordValue>,
pub green_max: Option<RecordValue>,
pub blue_min: Option<RecordValue>,
pub blue_max: Option<RecordValue>,
}Expand description
Optional minimum and maximum values for the colors red, green and blue.
Fields§
§red_min: Option<RecordValue>§red_max: Option<RecordValue>§green_min: Option<RecordValue>§green_max: Option<RecordValue>§blue_min: Option<RecordValue>§blue_max: Option<RecordValue>Trait Implementations§
Source§impl Clone for ColorLimits
impl Clone for ColorLimits
Source§fn clone(&self) -> ColorLimits
fn clone(&self) -> ColorLimits
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 moreAuto Trait Implementations§
impl Freeze for ColorLimits
impl RefUnwindSafe for ColorLimits
impl Send for ColorLimits
impl Sync for ColorLimits
impl Unpin for ColorLimits
impl UnwindSafe for ColorLimits
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