[][src]Struct oox::shared::drawingml::sharedstylesheet::ColorMapping

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.

Methods

impl ColorMapping[src]

pub fn from_xml_element(xml_node: &XmlNode) -> Result<Self>[src]

Trait Implementations

impl Clone for ColorMapping[src]

impl Debug for ColorMapping[src]

impl PartialEq<ColorMapping> for ColorMapping[src]

impl StructuralPartialEq for ColorMapping[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.