pub struct SystemColor {
pub value: SystemColorVal,
pub last_color: Option<HexColorRGB>,
pub color_transforms: Vec<ColorTransform>,
}Fields§
§value: SystemColorValSpecifies the system color value.
last_color: Option<HexColorRGB>Specifies the color value that was last computed by the generating application.
color_transforms: Vec<ColorTransform>Color transforms to apply to this color
Implementations§
Source§impl SystemColor
impl SystemColor
pub fn from_xml_element(xml_node: &XmlNode) -> Result<SystemColor>
Trait Implementations§
Source§impl Clone for SystemColor
impl Clone for SystemColor
Source§fn clone(&self) -> SystemColor
fn clone(&self) -> SystemColor
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 SystemColor
impl Debug for SystemColor
Source§impl PartialEq for SystemColor
impl PartialEq for SystemColor
Source§fn eq(&self, other: &SystemColor) -> bool
fn eq(&self, other: &SystemColor) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SystemColor
Auto Trait Implementations§
impl Freeze for SystemColor
impl RefUnwindSafe for SystemColor
impl Send for SystemColor
impl Sync for SystemColor
impl Unpin for SystemColor
impl UnsafeUnpin for SystemColor
impl UnwindSafe for SystemColor
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