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

pub struct ColorScheme {
    pub name: String,
    pub dark1: Color,
    pub light1: Color,
    pub dark2: Color,
    pub light2: Color,
    pub accent1: Color,
    pub accent2: Color,
    pub accent3: Color,
    pub accent4: Color,
    pub accent5: Color,
    pub accent6: Color,
    pub hyperlink: Color,
    pub followed_hyperlink: Color,
}

Fields

name: String

The common name for this color scheme. This name can show up in the user interface in a list of color schemes.

dark1: Color

This element defines a color that happens to be the dark 1 color. The set of twelve colors come together to form the color scheme for a theme.

light1: Color

This element defines a color that happens to be the accent 1 color. The set of twelve colors come together to form the color scheme for a theme.

dark2: Color

This element defines a color that happens to be the dark 2 color. The set of twelve colors come together to form the color scheme for a theme.

light2: Color

This element defines a color that happens to be the accent 1 color. The set of twelve colors come together to form the color scheme for a theme.

accent1: Color

This element defines a color that happens to be the accent 1 color. The set of twelve colors come together to form the color scheme for a theme.

accent2: Color

This element defines a color that happens to be the accent 2 color. The set of twelve colors come together to form the color scheme for a theme.

accent3: Color

This element defines a color that happens to be the accent 3 color. The set of twelve colors come together to form the color scheme for a theme.

accent4: Color

This element defines a color that happens to be the accent 4 color. The set of twelve colors come together to form the color scheme for a theme.

accent5: Color

This element defines a color that happens to be the accent 5 color. The set of twelve colors come together to form the color scheme for a theme.

accent6: Color

This element defines a color that happens to be the accent 6 color. The set of twelve colors come together to form the color scheme for a theme.

hyperlink: Color

This element defines a color that happens to be the hyperlink color. The set of twelve colors come together to form the color scheme for a theme.

followed_hyperlink: Color

This element defines a color that happens to be the followed hyperlink color. The set of twelve colors come together to form the color scheme for a theme.

Methods

impl ColorScheme[src]

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

Trait Implementations

impl Clone for ColorScheme[src]

impl Debug for ColorScheme[src]

impl PartialEq<ColorScheme> for ColorScheme[src]

impl StructuralPartialEq for ColorScheme[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.