pub enum GraphicsEffectSource {
Parameter(CompositionEffectSourceParameter),
Effect(Box<GraphicsEffect>),
}Expand description
An input of an effect (WinUI IGraphicsEffectSource): a source
parameter that a brush is bound to, or another effect.
Variants§
Parameter(CompositionEffectSourceParameter)
A named leaf bound to a brush.
Effect(Box<GraphicsEffect>)
The output of another effect.
Trait Implementations§
Source§impl Clone for GraphicsEffectSource
impl Clone for GraphicsEffectSource
Source§impl Debug for GraphicsEffectSource
impl Debug for GraphicsEffectSource
Source§impl From<AlphaMaskEffect> for GraphicsEffectSource
impl From<AlphaMaskEffect> for GraphicsEffectSource
Source§fn from(effect: AlphaMaskEffect) -> Self
fn from(effect: AlphaMaskEffect) -> Self
Converts to this type from the input type.
Source§impl From<ArithmeticCompositeEffect> for GraphicsEffectSource
impl From<ArithmeticCompositeEffect> for GraphicsEffectSource
Source§fn from(effect: ArithmeticCompositeEffect) -> Self
fn from(effect: ArithmeticCompositeEffect) -> Self
Converts to this type from the input type.
Source§impl From<BlendEffect> for GraphicsEffectSource
impl From<BlendEffect> for GraphicsEffectSource
Source§fn from(effect: BlendEffect) -> Self
fn from(effect: BlendEffect) -> Self
Converts to this type from the input type.
Source§impl From<BorderEffect> for GraphicsEffectSource
impl From<BorderEffect> for GraphicsEffectSource
Source§fn from(effect: BorderEffect) -> Self
fn from(effect: BorderEffect) -> Self
Converts to this type from the input type.
Source§impl From<ColorMatrixEffect> for GraphicsEffectSource
impl From<ColorMatrixEffect> for GraphicsEffectSource
Source§fn from(effect: ColorMatrixEffect) -> Self
fn from(effect: ColorMatrixEffect) -> Self
Converts to this type from the input type.
Source§impl From<ColorSourceEffect> for GraphicsEffectSource
impl From<ColorSourceEffect> for GraphicsEffectSource
Source§fn from(effect: ColorSourceEffect) -> Self
fn from(effect: ColorSourceEffect) -> Self
Converts to this type from the input type.
Source§impl From<CompositeEffect> for GraphicsEffectSource
impl From<CompositeEffect> for GraphicsEffectSource
Source§fn from(effect: CompositeEffect) -> Self
fn from(effect: CompositeEffect) -> Self
Converts to this type from the input type.
Source§impl From<CompositionEffectSourceParameter> for GraphicsEffectSource
impl From<CompositionEffectSourceParameter> for GraphicsEffectSource
Source§fn from(parameter: CompositionEffectSourceParameter) -> Self
fn from(parameter: CompositionEffectSourceParameter) -> Self
Converts to this type from the input type.
Source§impl From<CrossFadeEffect> for GraphicsEffectSource
impl From<CrossFadeEffect> for GraphicsEffectSource
Source§fn from(effect: CrossFadeEffect) -> Self
fn from(effect: CrossFadeEffect) -> Self
Converts to this type from the input type.
Source§impl From<GaussianBlurEffect> for GraphicsEffectSource
impl From<GaussianBlurEffect> for GraphicsEffectSource
Source§fn from(effect: GaussianBlurEffect) -> Self
fn from(effect: GaussianBlurEffect) -> Self
Converts to this type from the input type.
Source§impl From<GraphicsEffect> for GraphicsEffectSource
impl From<GraphicsEffect> for GraphicsEffectSource
Source§fn from(effect: GraphicsEffect) -> Self
fn from(effect: GraphicsEffect) -> Self
Converts to this type from the input type.
Source§impl From<GrayscaleEffect> for GraphicsEffectSource
impl From<GrayscaleEffect> for GraphicsEffectSource
Source§fn from(effect: GrayscaleEffect) -> Self
fn from(effect: GrayscaleEffect) -> Self
Converts to this type from the input type.
Source§impl From<InvertEffect> for GraphicsEffectSource
impl From<InvertEffect> for GraphicsEffectSource
Source§fn from(effect: InvertEffect) -> Self
fn from(effect: InvertEffect) -> Self
Converts to this type from the input type.
Source§impl From<LuminanceToAlphaEffect> for GraphicsEffectSource
impl From<LuminanceToAlphaEffect> for GraphicsEffectSource
Source§fn from(effect: LuminanceToAlphaEffect) -> Self
fn from(effect: LuminanceToAlphaEffect) -> Self
Converts to this type from the input type.
Source§impl From<OpacityEffect> for GraphicsEffectSource
impl From<OpacityEffect> for GraphicsEffectSource
Source§fn from(effect: OpacityEffect) -> Self
fn from(effect: OpacityEffect) -> Self
Converts to this type from the input type.
Source§impl From<SaturationEffect> for GraphicsEffectSource
impl From<SaturationEffect> for GraphicsEffectSource
Source§fn from(effect: SaturationEffect) -> Self
fn from(effect: SaturationEffect) -> Self
Converts to this type from the input type.
Source§impl From<SceneLightingEffect> for GraphicsEffectSource
impl From<SceneLightingEffect> for GraphicsEffectSource
Source§fn from(effect: SceneLightingEffect) -> Self
fn from(effect: SceneLightingEffect) -> Self
Converts to this type from the input type.
Source§impl From<ShadowEffect> for GraphicsEffectSource
impl From<ShadowEffect> for GraphicsEffectSource
Source§fn from(effect: ShadowEffect) -> Self
fn from(effect: ShadowEffect) -> Self
Converts to this type from the input type.
Source§impl From<TintEffect> for GraphicsEffectSource
impl From<TintEffect> for GraphicsEffectSource
Source§fn from(effect: TintEffect) -> Self
fn from(effect: TintEffect) -> Self
Converts to this type from the input type.
Source§impl PartialEq for GraphicsEffectSource
impl PartialEq for GraphicsEffectSource
impl StructuralPartialEq for GraphicsEffectSource
Auto Trait Implementations§
impl Freeze for GraphicsEffectSource
impl RefUnwindSafe for GraphicsEffectSource
impl Send for GraphicsEffectSource
impl Sync for GraphicsEffectSource
impl Unpin for GraphicsEffectSource
impl UnsafeUnpin for GraphicsEffectSource
impl UnwindSafe for GraphicsEffectSource
Blanket Implementations§
Source§impl<T> AnyValue for Twhere
T: PartialEq + 'static,
impl<T> AnyValue for Twhere
T: PartialEq + 'static,
fn any_value_as_any(&self) -> &(dyn Any + 'static)
fn any_value_eq(&self, other: &(dyn AnyValue + 'static)) -> bool
fn any_value_type_name(&self) -> &'static str
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
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more