FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    MarkupMethod

    struct · ferroui-base · v0.5.0

    struct MarkupMethod
    

    A method: an instance method (Add, a command method, an event handler) or a static one (Parse, a factory method, an attached property accessor).

    View source

    Members

    name

    name: &'static str
    

    Source

    is_static

    is_static: bool
    

    Source

    parameters

    parameters: &'static [TypeOf]
    

    The parameter types, without the instance.

    Source

    return_type

    return_type: Option<TypeOf>
    

    None for a method that returns nothing.

    Source

    invoke

    invoke: MarkupInvoke
    

    Calls the method: (instance, arguments..), or (arguments..) for a static method.

    Source

    attributes

    attributes: &'static [MarkupAttribute]
    

    Source

    emit

    emit: CompilerMetadata<Option<MarkupEmit>>
    

    The typed function the declaration generated for the method (see MarkupEmit).

    Source

    Trait implementations

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

    Availability

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