pub struct SystemColor {
pub value: SystemColorVal,
pub last_color: Option<HexColorRGB>,
pub color_transforms: Vec<ColorTransform>,
}
Fields§
§value: SystemColorVal
Specifies 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, Box<dyn Error>>
Trait Implementations§
Source§impl Clone for SystemColor
impl Clone for SystemColor
Source§fn clone(&self) -> SystemColor
fn clone(&self) -> SystemColor
Returns a copy 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 moreAuto Trait Implementations§
impl Freeze for SystemColor
impl RefUnwindSafe for SystemColor
impl Send for SystemColor
impl Sync for SystemColor
impl Unpin 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