FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    MethodDescriptor

    struct · ferroui-xaml-interactivity · v0.5.0

    struct MethodDescriptor
    

    A method found by a MethodHelper.

    View source

    Members

    new

    fn new(method_info: &'static MarkupMethod) -> Self
    

    Describes method_info.

    Source

    method_info

    fn method_info(self: &Self) -> &'static MarkupMethod
    

    The method.

    Source

    parameters

    fn parameters(self: &Self) -> Vec<ValueType>
    

    The types of the parameters of the method.

    Source

    parameter_count

    fn parameter_count(self: &Self) -> usize
    

    The number of parameters of the method.

    Source

    second_parameter_type_info

    fn second_parameter_type_info(self: &Self) -> Option<ValueType>
    

    The type of the second parameter, if the method has two.

    Source

    Trait implementations

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

    Availability

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