pub struct EffectList {
pub outer_shadow: Option<OuterShadow>,
pub glow: Option<Glow>,
pub reflection: Option<Reflection>,
pub soft_edge: Option<SoftEdge>,
}Expand description
<a:effectLst> (CT_EffectList). Only the four effects real-world decks overwhelmingly use are
modeled (outer shadow, glow, reflection, soft edge); CT_EffectList’s other choices
(innerShdw/prstShdw, blur, fillOverlay, alpha/color/duotone/ luminance-modulation effect
filters rather than genuine visual effects) are not, matching the “common case first” posture
already used for e.g. Geometry::Custom’s draw-command subset. Grounded against real fixtures
covering outerShdw, glow/softEdge, and reflection.
Fields§
§outer_shadow: Option<OuterShadow>§glow: Option<Glow>§reflection: Option<Reflection>§soft_edge: Option<SoftEdge>Implementations§
Source§impl EffectList
impl EffectList
pub fn new() -> EffectList
pub fn with_outer_shadow(self, shadow: OuterShadow) -> EffectList
pub fn with_glow(self, glow: Glow) -> EffectList
pub fn with_reflection(self, reflection: Reflection) -> EffectList
pub fn with_soft_edge(self, soft_edge: SoftEdge) -> EffectList
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
Source§impl PartialEq for EffectList
impl PartialEq for EffectList
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