pub struct EffectList {
pub outer_shadow: Option<ShadowEffect>,
pub inner_shadow: Option<ShadowEffect>,
pub glow: Option<GlowEffect>,
pub soft_edge: Option<SoftEdgeEffect>,
pub reflection: Option<ReflectionEffect>,
}Expand description
效果列表(<a:effectLst>)。
对应 OOXML 中 <p:spPr> 内 <a:effectLst> 元素。
按 OOXML 顺序:blur → fillOverlay → glow → innerShdw → outerShdw → prstShdw → reflection → softEdge。
Fields§
§outer_shadow: Option<ShadowEffect>外阴影(<a:outerShdw>,最常用)。
inner_shadow: Option<ShadowEffect>内阴影(<a:innerShdw>)。
glow: Option<GlowEffect>发光(<a:glow>)。
soft_edge: Option<SoftEdgeEffect>柔化边缘(<a:softEdge>)。
reflection: Option<ReflectionEffect>反射(<a:reflection>)。
Implementations§
Trait Implementations§
Source§impl Clone for EffectList
impl Clone for EffectList
Source§fn clone(&self) -> EffectList
fn clone(&self) -> EffectList
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EffectList
impl Debug for EffectList
Source§impl Default for EffectList
impl Default for EffectList
Source§fn default() -> EffectList
fn default() -> EffectList
Returns the “default value” for a type. Read more
impl Eq for EffectList
Source§impl PartialEq for EffectList
impl PartialEq for EffectList
Source§fn eq(&self, other: &EffectList) -> bool
fn eq(&self, other: &EffectList) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for EffectList
Auto Trait Implementations§
impl Freeze for EffectList
impl RefUnwindSafe for EffectList
impl Send for EffectList
impl Sync for EffectList
impl Unpin for EffectList
impl UnsafeUnpin for EffectList
impl UnwindSafe for EffectList
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.