FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    BreakAction

    struct · ferroui-xaml-interactions-custom · v0.5.0

    struct BreakAction
    

    An action that triggers a debugger break.

    Deviation (DEVIATIONS.md, Behaviors): the reference calls Debugger.Break(). Safe, portable Rust has no call that breaks into an attached debugger, and the framework has no service for it; the action does not stop the program. It still returns true when it is enabled, so a breakpoint set on BreakAction::execute stops where the reference breaks.

    View source

    Members

    TYPE

    const TYPE: &'static $crate::TypeInfo
    

    The runtime type of this class.

    Source

    to_ref

    fn to_ref(self: &Self) -> $crate::Ref<BreakAction>
    

    Returns a strong reference to this object.

    Source

    construct

    fn construct() -> Self
    

    Creates the class data; see ferroui_base::FerroObject::construct.

    Source

    new

    fn new() -> Ref<Self>
    

    Creates an action.

    Source

    Trait implementations

    Availability

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