InteropAutomationPeer
struct · ferroui-controls · v0.5.0
struct InteropAutomationPeer
Represents the root of a native control automation tree hosted by a
NativeControlHost.
This peer should be special-cased in the platform backend, as it represents a native control and hence none of the standard automation peer methods are applicable.
Internal in the reference: for the framework and the platform backends.
Members
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<InteropAutomationPeer>
Returns a strong reference to this object.
construct
fn construct(native_control_handle: Rc<dyn IPlatformHandle>) -> Self
Creates the class data; see ferroui_base::FerroObject::construct.
new
fn new(native_control_handle: Rc<dyn IPlatformHandle>) -> Ref<Self>
Initializes a new peer of the native control with the handle
native_control_handle.
native_control_handle
fn native_control_handle(self: &Self) -> Rc<dyn IPlatformHandle>
Gets the handle of the native control.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeAutomationPeerImplExtBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyFerroObjectImplExtClassDefaultsErasedDestructorIntoEitherDerefUpcast<T>Upcast<InteropAutomationPeer>StaticTypeObjectTypeSubclassable<T>FerroObjectImplAutomationPeerImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.