pub struct InvertEffect {
pub name: String,
pub source: Option<GraphicsEffectSource>,
}Expand description
Inverts the colours of its source (Win2D InvertEffect).
Fields§
§name: StringThe name of the effect.
source: Option<GraphicsEffectSource>The input.
Trait Implementations§
Source§impl Clone for InvertEffect
impl Clone for InvertEffect
Source§impl Debug for InvertEffect
impl Debug for InvertEffect
Source§impl Default for InvertEffect
impl Default for InvertEffect
Source§impl From<InvertEffect> for GraphicsEffect
impl From<InvertEffect> for GraphicsEffect
Source§fn from(effect: InvertEffect) -> Self
fn from(effect: InvertEffect) -> 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 PartialEq for InvertEffect
impl PartialEq for InvertEffect
impl StructuralPartialEq for InvertEffect
Auto Trait Implementations§
impl Freeze for InvertEffect
impl RefUnwindSafe for InvertEffect
impl Send for InvertEffect
impl Sync for InvertEffect
impl Unpin for InvertEffect
impl UnsafeUnpin for InvertEffect
impl UnwindSafe for InvertEffect
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