FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    MethodAccessorPlugin

    struct · ferroui-base · v0.5.0

    struct MethodAccessorPlugin
    

    Reads a declared method of a model object.

    A method declared in markup metadata is read as the managed original reads it: as a delegate bound to the object (MarkupDelegate), which the converters of the binding turn into a command for a command-typed target (MethodToCommandConverter). Neither keeps the object alive (MarkupDelegate::for_method_of_source). A method declared in binding metadata (ModelTypes) has no delegate form: the accessor produces its command directly.

    View source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • ClassDefaults
    • Borrow<T>
    • BorrowMut<T>
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ErasedDestructor
    • IntoEither
    • IPropertyAccessorPlugin

    Availability

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