[−][src]Struct oox::shared::drawingml::shapeprops::DuotoneEffect
This element specifies a duotone effect.
For each pixel, combines clr1 and clr2 through a linear interpolation to determine the new color for that pixel.
Fields
colors: [Color; 2]
Methods
impl DuotoneEffect
[src]
pub fn from_xml_element(xml_node: &XmlNode) -> Result<Self>
[src]
Trait Implementations
impl Clone for DuotoneEffect
[src]
fn clone(&self) -> DuotoneEffect
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for DuotoneEffect
[src]
impl PartialEq<DuotoneEffect> for DuotoneEffect
[src]
fn eq(&self, other: &DuotoneEffect) -> bool
[src]
fn ne(&self, other: &DuotoneEffect) -> bool
[src]
impl StructuralPartialEq for DuotoneEffect
[src]
Auto Trait Implementations
impl RefUnwindSafe for DuotoneEffect
impl Send for DuotoneEffect
impl Sync for DuotoneEffect
impl Unpin for DuotoneEffect
impl UnwindSafe for DuotoneEffect
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,