FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    IAction

    trait · ferroui-xaml-interactivity · v0.5.0

    trait IAction
    

    Interface implemented by all custom actions.

    View source

    Members

    execute

    fn execute(self: &Self, sender: Option<&BoxedValue>, parameter: Option<&BoxedValue>) -> Option<BoxedValue>
    

    Executes the action.

    sender is the object that is passed to the action by the behavior. Generally this is IBehavior::associated_object or a target object. The value of parameter is determined by the caller. An example of parameter usage is EventTriggerBehavior, which passes the event args as a parameter to its actions.

    Returns the result of the action.

    Source

    Trait implementations

    Availability

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