FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    IBehavior

    trait · ferroui-xaml-interactivity · v0.5.0

    trait IBehavior
    

    Interface implemented by all custom behaviors.

    View source

    Members

    associated_object

    fn associated_object(self: &Self) -> Option<Ref<FerroObject>>
    

    Gets the object to which the behavior is attached.

    Source

    attach

    fn attach(self: &Self, associated_object: Option<Ref<FerroObject>>)
    

    Attaches to the specified object.

    Source

    detach

    fn detach(self: &Self)
    

    Detaches this instance from its associated object.

    Source

    Trait implementations

    Availability

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