ProviderAdapter
struct · ferroui-controls · v0.5.0
struct ProviderAdapter<T: ObjectType>
The handle through which an automation peer of class T implements a
provider contract: impl IInvokeProvider for ProviderAdapter<MyPeer>.
The peer class then lists the handle in the interfaces of its class
information, with the conversion of this type:
interfaces: [Rc<dyn IInvokeProvider> => ProviderAdapter::as_invoke_provider].
Members
0as_embedded_root_provideras_expand_collapse_provideras_invoke_provideras_range_value_provideras_root_provideras_scroll_provideras_selection_item_provideras_selection_provideras_text_provideras_text_provider2as_text_child_provideras_text_edit_provideras_toggle_provideras_value_provider
0
0: ferroui_base::Ref<T>
as_embedded_root_provider
fn as_embedded_root_provider(peer: Ref<T>) -> Rc<dyn IEmbeddedRootProvider>
where Self: IEmbeddedRootProvider
Converts the handle of a peer to the handle of the provider contract it implements on this type.
as_expand_collapse_provider
fn as_expand_collapse_provider(peer: Ref<T>) -> Rc<dyn IExpandCollapseProvider>
where Self: IExpandCollapseProvider
Converts the handle of a peer to the handle of the provider contract it implements on this type.
as_invoke_provider
fn as_invoke_provider(peer: Ref<T>) -> Rc<dyn IInvokeProvider>
where Self: IInvokeProvider
Converts the handle of a peer to the handle of the provider contract it implements on this type.
as_range_value_provider
fn as_range_value_provider(peer: Ref<T>) -> Rc<dyn IRangeValueProvider>
where Self: IRangeValueProvider
Converts the handle of a peer to the handle of the provider contract it implements on this type.
as_root_provider
fn as_root_provider(peer: Ref<T>) -> Rc<dyn IRootProvider>
where Self: IRootProvider
Converts the handle of a peer to the handle of the provider contract it implements on this type.
as_scroll_provider
fn as_scroll_provider(peer: Ref<T>) -> Rc<dyn IScrollProvider>
where Self: IScrollProvider
Converts the handle of a peer to the handle of the provider contract it implements on this type.
as_selection_item_provider
fn as_selection_item_provider(peer: Ref<T>) -> Rc<dyn ISelectionItemProvider>
where Self: ISelectionItemProvider
Converts the handle of a peer to the handle of the provider contract it implements on this type.
as_selection_provider
fn as_selection_provider(peer: Ref<T>) -> Rc<dyn ISelectionProvider>
where Self: ISelectionProvider
Converts the handle of a peer to the handle of the provider contract it implements on this type.
as_text_provider
fn as_text_provider(peer: Ref<T>) -> Rc<dyn ITextProvider>
where Self: ITextProvider
Converts the handle of a peer to the handle of the provider contract it implements on this type.
as_text_provider2
fn as_text_provider2(peer: Ref<T>) -> Rc<dyn ITextProvider2>
where Self: ITextProvider2
Converts the handle of a peer to the handle of the provider contract it implements on this type.
as_text_child_provider
fn as_text_child_provider(peer: Ref<T>) -> Rc<dyn ITextChildProvider>
where Self: ITextChildProvider
Converts the handle of a peer to the handle of the provider contract it implements on this type.
as_text_edit_provider
fn as_text_edit_provider(peer: Ref<T>) -> Rc<dyn ITextEditProvider>
where Self: ITextEditProvider
Converts the handle of a peer to the handle of the provider contract it implements on this type.
as_toggle_provider
fn as_toggle_provider(peer: Ref<T>) -> Rc<dyn IToggleProvider>
where Self: IToggleProvider
Converts the handle of a peer to the handle of the provider contract it implements on this type.
as_value_provider
fn as_value_provider(peer: Ref<T>) -> Rc<dyn IValueProvider>
where Self: IValueProvider
Converts the handle of a peer to the handle of the provider contract it implements on this type.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>AnyClassDefaultsErasedDestructorIntoEitherIExpandCollapseProviderIValueProviderIInvokeProviderISelectionProviderISelectionItemProviderIEmbeddedRootProviderIRootProviderIScrollProviderIToggleProviderIRangeValueProviderITextChildProviderITextEditProviderITextProvider2ITextProvider
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.