[][src]Enum msoffice_pptx::pml::TLByAnimateColorTransform

pub enum TLByAnimateColorTransform {
    Rgb(TLByRgbColorTransform),
    Hsl(TLByHslColorTransform),
}

Variants

Rgb(TLByRgbColorTransform)

The element specifies an incremental RGB value to add to the color property

Xml example

<p:animClr clrSpc="rgb">
  <p:cBhvr>
    <p:cTn id="8" dur="500" fill="hold"/>
    <p:tgtEl>
      <p:spTgt spid="4"/>
    </p:tgtEl>
    <p:attrNameLst>
      <p:attrName>stroke.color</p:attrName>
    </p:attrNameLst>
  </p:cBhvr>
  <p:by>
    <p:rgb r="10" g="20" b="30"/>
  </p:by>
</p:animClr>
Hsl(TLByHslColorTransform)

This element specifies an incremental HSL (Hue, Saturation, Lightness) value to add to a color animation.

Xml example

<p:animClr clrSpc="hsl">
  <p:cBhvr>
    <p:cTn id="8" dur="500" fill="hold"/>
    <p:tgtEl>
      <p:spTgt spid="4"/>
    </p:tgtEl>
    <p:attrNameLst>
      <p:attrName>stroke.color</p:attrName>
    </p:attrNameLst>
  </p:cBhvr>
  <p:by>
    <p:hsl h="0" s="0" l="0"/>
  </p:by>
</p:animClr>

Methods

impl TLByAnimateColorTransform[src]

pub fn is_choice_member<T>(name: T) -> bool where
    T: AsRef<str>, 
[src]

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

Trait Implementations

impl Clone for TLByAnimateColorTransform[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for TLByAnimateColorTransform[src]

Auto Trait Implementations

Blanket Implementations

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.

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

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

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