FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    CustomEffectClass

    trait · ferroui-base · v0.5.0

    trait CustomEffectClass: ObjectType
    

    A mutable effect class whose values freeze into a custom effect: a class deriving from Effect that constructs its base with Effect::construct_custom. Its handle converts to Rc<dyn IEffect> as the built-in effect classes do; the compositor sends its snapshot to the render thread and takes a new one when the effect raises invalidated.

    View source

    Members

    to_custom_effect

    fn to_custom_effect(self: &Self) -> ImmutableCustomEffect
    

    The snapshot of the current values.

    Source

    Trait implementations

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.