pub struct ColorMapping {
pub background1: ColorSchemeIndex,
pub text1: ColorSchemeIndex,
pub background2: ColorSchemeIndex,
pub text2: ColorSchemeIndex,
pub accent1: ColorSchemeIndex,
pub accent2: ColorSchemeIndex,
pub accent3: ColorSchemeIndex,
pub accent4: ColorSchemeIndex,
pub accent5: ColorSchemeIndex,
pub accent6: ColorSchemeIndex,
pub hyperlink: ColorSchemeIndex,
pub followed_hyperlink: ColorSchemeIndex,
}
Fields§
§background1: ColorSchemeIndex
A color defined which is associated as the first background color.
text1: ColorSchemeIndex
Specifies a color defined which is associated as the first text color.
background2: ColorSchemeIndex
Specifies a color defined which is associated as the second background color.
text2: ColorSchemeIndex
Specifies a color defined which is associated as the second text color.
accent1: ColorSchemeIndex
Specifies a color defined which is associated as the accent 1 color.
accent2: ColorSchemeIndex
Specifies a color defined which is associated as the accent 2 color.
accent3: ColorSchemeIndex
Specifies a color defined which is associated as the accent 3 color.
accent4: ColorSchemeIndex
Specifies a color defined which is associated as the accent 4 color.
accent5: ColorSchemeIndex
Specifies a color defined which is associated as the accent 5 color.
accent6: ColorSchemeIndex
Specifies a color defined which is associated as the accent 6 color.
hyperlink: ColorSchemeIndex
Specifies a color defined which is associated as the color for a hyperlink.
followed_hyperlink: ColorSchemeIndex
Specifies a color defined which is associated as the color for a followed hyperlink.
Implementations§
Source§impl ColorMapping
impl ColorMapping
pub fn from_xml_element(xml_node: &XmlNode) -> Result<Self>
Trait Implementations§
Source§impl Clone for ColorMapping
impl Clone for ColorMapping
Source§fn clone(&self) -> ColorMapping
fn clone(&self) -> ColorMapping
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more