FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    EventChainLink

    struct · ferroui-diagnostics · v0.5.0

    struct EventChainLink
    

    One link of the chain of a routed event: an object whose handlers saw the event, whether the event was handled there and the route it took.

    View source

    Members

    new

    fn new(handler: BoxedValue, handled: bool, route: RoutingStrategies) -> Rc<Self>
    

    C# new EventChainLink(object handler, bool handled, RoutingStrategies route).

    Source

    handler

    fn handler(self: &Self) -> BoxedValue
    

    Source

    begins_new_route

    fn begins_new_route(self: &Self) -> bool
    

    Source

    set_begins_new_route

    fn set_begins_new_route(self: &Self, value: bool)
    

    Source

    handler_name

    fn handler_name(self: &Self) -> String
    

    The name of the handler: its name and the name of its type (name (Button)) when it is a named element (INamed) with a name, else the name of its type.

    Source

    handled

    fn handled(self: &Self) -> bool
    

    Source

    set_handled

    fn set_handled(self: &Self, value: bool)
    

    Source

    route

    fn route(self: &Self) -> RoutingStrategies
    

    Source

    Trait implementations

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

    Availability

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