pub struct SchemeColor { /* private fields */ }Implementations§
Source§impl SchemeColor
impl SchemeColor
pub fn get_val(&self) -> &SchemeColorValues
pub fn set_val(&mut self, value: SchemeColorValues) -> &mut Self
pub fn get_luminance(&self) -> Option<&PercentageType>
pub fn get_luminance_mut(&mut self) -> Option<&mut PercentageType>
pub fn set_luminance(&mut self, value: PercentageType)
pub fn get_luminance_modulation(&self) -> Option<&PercentageType>
pub fn get_luminance_modulation_mut(&mut self) -> Option<&mut PercentageType>
pub fn set_luminance_modulation(&mut self, value: PercentageType)
pub fn get_luminance_offset(&self) -> Option<&PercentageType>
pub fn get_luminance_offset_mut(&mut self) -> Option<&mut PercentageType>
pub fn set_luminance_offset(&mut self, value: PercentageType)
pub fn get_saturation(&self) -> Option<&PercentageType>
pub fn get_saturation_mut(&mut self) -> Option<&mut PercentageType>
pub fn set_saturation(&mut self, value: PercentageType)
pub fn get_saturation_modulation(&self) -> Option<&PercentageType>
pub fn get_saturation_modulation_mut(&mut self) -> Option<&mut PercentageType>
pub fn set_saturation_modulation(&mut self, value: PercentageType)
pub fn get_shade(&self) -> Option<&PositiveFixedPercentageType>
pub fn get_shade_mut(&mut self) -> Option<&mut PositiveFixedPercentageType>
pub fn set_shade(&mut self, value: PositiveFixedPercentageType)
pub fn get_alpha(&self) -> Option<&PositiveFixedPercentageType>
pub fn get_alpha_mut(&mut self) -> Option<&mut PositiveFixedPercentageType>
pub fn set_alpha(&mut self, value: PositiveFixedPercentageType)
pub fn get_tint(&self) -> Option<&PositiveFixedPercentageType>
pub fn get_tint_mut(&mut self) -> Option<&mut PositiveFixedPercentageType>
pub fn set_tint(&mut self, value: PositiveFixedPercentageType)
Trait Implementations§
Source§impl Clone for SchemeColor
impl Clone for SchemeColor
Source§fn clone(&self) -> SchemeColor
fn clone(&self) -> SchemeColor
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 moreSource§impl Debug for SchemeColor
impl Debug for SchemeColor
Source§impl Default for SchemeColor
impl Default for SchemeColor
Source§fn default() -> SchemeColor
fn default() -> SchemeColor
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SchemeColor
impl RefUnwindSafe for SchemeColor
impl Send for SchemeColor
impl Sync for SchemeColor
impl Unpin for SchemeColor
impl UnwindSafe for SchemeColor
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