FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    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].

    View source

    Members

    0

    0: ferroui_base::Ref<T>
    

    Source

    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.

    Source

    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.

    Source

    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.

    Source

    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.

    Source

    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.

    Source

    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.

    Source

    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.

    Source

    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.

    Source

    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.

    Source

    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.

    Source

    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.

    Source

    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.

    Source

    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.

    Source

    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.

    Source

    Trait implementations

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.