FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    ConsoleBeepAction

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

    struct ConsoleBeepAction
    

    An action that plays a system beep.

    Deviation (DEVIATIONS.md, Behaviors): the reference calls Console.Beep(), a basic beep as a fallback since the framework has no audio API; the framework has no beep service either, so the port writes the bell character to the standard output, which is what the console beep of the reference does on a terminal outside Windows. The action returns whether it was written.

    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<ConsoleBeepAction>
    

    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.