pub struct RgbColorModelHex { /* private fields */ }Implementations§
Source§impl RgbColorModelHex
impl RgbColorModelHex
pub fn val(&self) -> &str
pub fn get_val(&self) -> &str
👎Deprecated since 3.0.0:
Use val()
pub fn set_val<S: Into<String>>(&mut self, value: S) -> &mut Self
pub fn luminance(&self) -> Option<&PercentageType>
pub fn get_luminance(&self) -> Option<&PercentageType>
👎Deprecated since 3.0.0:
Use luminance()
pub fn luminance_mut(&mut self) -> Option<&mut PercentageType>
pub fn get_luminance_mut(&mut self) -> Option<&mut PercentageType>
👎Deprecated since 3.0.0:
Use luminance_mut()
pub fn set_luminance(&mut self, value: PercentageType)
pub fn luminance_modulation(&self) -> Option<&PercentageType>
pub fn get_luminance_modulation(&self) -> Option<&PercentageType>
👎Deprecated since 3.0.0:
Use luminance_modulation()
pub fn luminance_modulation_mut(&mut self) -> Option<&mut PercentageType>
pub fn get_luminance_modulation_mut(&mut self) -> Option<&mut PercentageType>
pub fn set_luminance_modulation(&mut self, value: PercentageType)
pub fn luminance_offset(&self) -> Option<&PercentageType>
pub fn get_luminance_offset(&self) -> Option<&PercentageType>
👎Deprecated since 3.0.0:
Use luminance_offset()
pub fn luminance_offset_mut(&mut self) -> Option<&mut PercentageType>
pub fn get_luminance_offset_mut(&mut self) -> Option<&mut PercentageType>
👎Deprecated since 3.0.0:
Use luminance_offset_mut()
pub fn set_luminance_offset(&mut self, value: PercentageType)
pub fn saturation(&self) -> Option<&PercentageType>
pub fn get_saturation(&self) -> Option<&PercentageType>
👎Deprecated since 3.0.0:
Use saturation()
pub fn saturation_mut(&mut self) -> Option<&mut PercentageType>
pub fn get_saturation_mut(&mut self) -> Option<&mut PercentageType>
👎Deprecated since 3.0.0:
Use saturation_mut()
pub fn set_saturation(&mut self, value: PercentageType)
pub fn saturation_modulation(&self) -> Option<&PercentageType>
pub fn get_saturation_modulation(&self) -> Option<&PercentageType>
👎Deprecated since 3.0.0:
Use saturation_modulation()
pub fn saturation_modulation_mut(&mut self) -> Option<&mut PercentageType>
pub fn get_saturation_modulation_mut(&mut self) -> Option<&mut PercentageType>
👎Deprecated since 3.0.0:
Use saturation_modulation_mut()
pub fn set_saturation_modulation(&mut self, value: PercentageType)
pub fn shade(&self) -> Option<&PositiveFixedPercentageType>
pub fn get_shade(&self) -> Option<&PositiveFixedPercentageType>
👎Deprecated since 3.0.0:
Use shade()
pub fn shade_mut(&mut self) -> Option<&mut PositiveFixedPercentageType>
pub fn get_shade_mut(&mut self) -> Option<&mut PositiveFixedPercentageType>
👎Deprecated since 3.0.0:
Use shade_mut()
pub fn set_shade(&mut self, value: PositiveFixedPercentageType)
pub fn alpha(&self) -> Option<&PositiveFixedPercentageType>
pub fn get_alpha(&self) -> Option<&PositiveFixedPercentageType>
👎Deprecated since 3.0.0:
Use alpha()
pub fn alpha_mut(&mut self) -> Option<&mut PositiveFixedPercentageType>
pub fn get_alpha_mut(&mut self) -> Option<&mut PositiveFixedPercentageType>
👎Deprecated since 3.0.0:
Use alpha_mut()
pub fn set_alpha(&mut self, value: PositiveFixedPercentageType)
pub fn tint(&self) -> Option<&PositiveFixedPercentageType>
pub fn get_tint(&self) -> Option<&PositiveFixedPercentageType>
👎Deprecated since 3.0.0:
Use tint()
pub fn tint_mut(&mut self) -> Option<&mut PositiveFixedPercentageType>
pub fn get_tint_mut(&mut self) -> Option<&mut PositiveFixedPercentageType>
👎Deprecated since 3.0.0:
Use tint_mut()
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 (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 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 UnsafeUnpin 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