PointerPressedEventBehavior
struct · ferroui-xaml-interactions-events · v0.5.0
struct PointerPressedEventBehavior
Behavior that handles the InputElement::pointer_pressed_event.
The class is abstract: a deriving class overrides PointerPressedEventBehaviorImpl::on_pointer_pressed.
Members
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<PointerPressedEventBehavior>
Returns a strong reference to this object.
on_pointer_pressed
fn on_pointer_pressed(self: &Self, sender: &Interactive, e: &PointerPressedEventArgs)
Called when a pointer is pressed over the associated control.
construct
fn construct() -> Self
Creates the class data; see ferroui_base::FerroObject::construct.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafePointerPressedEventBehaviorImplExtBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyFerroObjectImplExtStyledElementImplExtClassDefaultsErasedDestructorIntoEitherStyledElementBehaviorImplExtDerefUpcast<T>Upcast<PointerPressedEventBehavior>StaticTypeObjectTypeSubclassable<T>FerroObjectImplStyledElementImplPointerPressedEventBehaviorImplStyledElementBehaviorImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.