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.
Members
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<ConsoleBeepAction>
Returns a strong reference to this object.
construct
fn construct() -> Self
Creates the class data; see ferroui_base::FerroObject::construct.
new
fn new() -> Ref<Self>
Creates an action.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyFerroObjectImplExtStyledElementImplExtClassDefaultsErasedDestructorIntoEitherStyledElementActionImplExtDerefUpcast<T>Upcast<ConsoleBeepAction>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleFerroObjectImplStyledElementImplStyledElementActionImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.