pub struct RgbColorModelHex { /* private fields */ }Implementations§
Source§impl RgbColorModelHex
impl RgbColorModelHex
pub fn get_val(&self) -> &str
pub fn set_val<S: Into<String>>(&mut self, value: S) -> &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 RgbColorModelHex
impl Clone for RgbColorModelHex
Source§fn clone(&self) -> RgbColorModelHex
fn clone(&self) -> RgbColorModelHex
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 RgbColorModelHex
impl Debug for RgbColorModelHex
Source§impl Default for RgbColorModelHex
impl Default for RgbColorModelHex
Source§fn default() -> RgbColorModelHex
fn default() -> RgbColorModelHex
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RgbColorModelHex
impl RefUnwindSafe for RgbColorModelHex
impl Send for RgbColorModelHex
impl Sync for RgbColorModelHex
impl Unpin for RgbColorModelHex
impl UnwindSafe for RgbColorModelHex
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