pub struct SchemeColor { /* private fields */ }Implementations§
Source§impl SchemeColor
impl SchemeColor
pub fn val(&self) -> &SchemeColorValues
pub fn get_val(&self) -> &SchemeColorValues
👎Deprecated since 3.0.0:
Use val()
pub fn set_val(&mut self, value: SchemeColorValues) -> &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>
👎Deprecated since 3.0.0:
Use luminance_modulation_mut()
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 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 (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 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 UnsafeUnpin 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