Skip to main content

IFrnAutomationPeer

Struct IFrnAutomationPeer 

Source
pub struct IFrnAutomationPeer { /* private fields */ }

Implementations§

Source§

impl IFrnAutomationPeer

Source

pub fn from_impl<T: IFrnAutomationPeerImpl + 'static>( value: T, ) -> ComPtr<IFrnAutomationPeer>

Wraps a Rust implementation into a COM object native code can call.

Source

pub fn get_node(&self) -> Option<ComPtr<IFrnAutomationNode>>

IFrnAutomationPeer::GetNode

Source

pub fn set_node(&self, node: Option<&IFrnAutomationNode>)

IFrnAutomationPeer::SetNode

Source

pub fn get_accelerator_key(&self) -> Option<ComPtr<IFrnString>>

IFrnAutomationPeer::GetAcceleratorKey

Source

pub fn get_access_key(&self) -> Option<ComPtr<IFrnString>>

IFrnAutomationPeer::GetAccessKey

Source

pub fn get_automation_control_type(&self) -> FrnAutomationControlType

IFrnAutomationPeer::GetAutomationControlType

Source

pub fn get_automation_id(&self) -> Option<ComPtr<IFrnString>>

IFrnAutomationPeer::GetAutomationId

Source

pub fn get_bounding_rectangle(&self) -> FrnRect

IFrnAutomationPeer::GetBoundingRectangle

Source

pub fn get_children(&self) -> Option<ComPtr<IFrnAutomationPeerArray>>

IFrnAutomationPeer::GetChildren

Source

pub fn get_class_name(&self) -> Option<ComPtr<IFrnString>>

IFrnAutomationPeer::GetClassName

Source

pub fn get_labeled_by(&self) -> Option<ComPtr<IFrnAutomationPeer>>

IFrnAutomationPeer::GetLabeledBy

Source

pub fn get_name(&self) -> Option<ComPtr<IFrnString>>

IFrnAutomationPeer::GetName

Source

pub fn get_parent(&self) -> Option<ComPtr<IFrnAutomationPeer>>

IFrnAutomationPeer::GetParent

Source

pub fn get_templated_parent(&self) -> Option<ComPtr<IFrnAutomationPeer>>

IFrnAutomationPeer::GetTemplatedParent

Source

pub fn get_visual_root(&self) -> Option<ComPtr<IFrnAutomationPeer>>

IFrnAutomationPeer::GetVisualRoot

Source

pub fn has_keyboard_focus(&self) -> bool

IFrnAutomationPeer::HasKeyboardFocus

Source

pub fn is_content_element(&self) -> bool

IFrnAutomationPeer::IsContentElement

Source

pub fn is_control_element(&self) -> bool

IFrnAutomationPeer::IsControlElement

Source

pub fn is_enabled(&self) -> bool

IFrnAutomationPeer::IsEnabled

Source

pub fn is_keyboard_focusable(&self) -> bool

IFrnAutomationPeer::IsKeyboardFocusable

Source

pub fn set_focus(&self)

IFrnAutomationPeer::SetFocus

Source

pub fn show_context_menu(&self) -> bool

IFrnAutomationPeer::ShowContextMenu

Source

pub fn bring_into_view(&self)

IFrnAutomationPeer::BringIntoView

Source

pub fn get_root_peer(&self) -> Option<ComPtr<IFrnAutomationPeer>>

IFrnAutomationPeer::GetRootPeer

Source

pub fn is_interop_peer(&self) -> bool

IFrnAutomationPeer::IsInteropPeer

Source

pub fn interop_peer_get_native_control_handle(&self) -> *mut c_void

IFrnAutomationPeer::InteropPeer_GetNativeControlHandle

Source

pub fn is_root_provider(&self) -> bool

IFrnAutomationPeer::IsRootProvider

Source

pub fn root_provider_get_window(&self) -> Option<ComPtr<IFrnWindowBase>>

IFrnAutomationPeer::RootProvider_GetWindow

Source

pub fn root_provider_get_focus(&self) -> Option<ComPtr<IFrnAutomationPeer>>

IFrnAutomationPeer::RootProvider_GetFocus

Source

pub fn root_provider_get_peer_from_point( &self, point: FrnPoint, ) -> Option<ComPtr<IFrnAutomationPeer>>

IFrnAutomationPeer::RootProvider_GetPeerFromPoint

Source

pub fn is_embedded_root_provider(&self) -> bool

IFrnAutomationPeer::IsEmbeddedRootProvider

Source

pub fn embedded_root_provider_get_focus( &self, ) -> Option<ComPtr<IFrnAutomationPeer>>

IFrnAutomationPeer::EmbeddedRootProvider_GetFocus

Source

pub fn embedded_root_provider_get_peer_from_point( &self, point: FrnPoint, ) -> Option<ComPtr<IFrnAutomationPeer>>

IFrnAutomationPeer::EmbeddedRootProvider_GetPeerFromPoint

Source

pub fn is_expand_collapse_provider(&self) -> bool

IFrnAutomationPeer::IsExpandCollapseProvider

Source

pub fn expand_collapse_provider_get_is_expanded(&self) -> bool

IFrnAutomationPeer::ExpandCollapseProvider_GetIsExpanded

Source

pub fn expand_collapse_provider_get_shows_menu(&self) -> bool

IFrnAutomationPeer::ExpandCollapseProvider_GetShowsMenu

Source

pub fn expand_collapse_provider_expand(&self)

IFrnAutomationPeer::ExpandCollapseProvider_Expand

Source

pub fn expand_collapse_provider_collapse(&self)

IFrnAutomationPeer::ExpandCollapseProvider_Collapse

Source

pub fn is_invoke_provider(&self) -> bool

IFrnAutomationPeer::IsInvokeProvider

Source

pub fn invoke_provider_invoke(&self)

IFrnAutomationPeer::InvokeProvider_Invoke

Source

pub fn is_range_value_provider(&self) -> bool

IFrnAutomationPeer::IsRangeValueProvider

Source

pub fn range_value_provider_get_value(&self) -> f64

IFrnAutomationPeer::RangeValueProvider_GetValue

Source

pub fn range_value_provider_get_minimum(&self) -> f64

IFrnAutomationPeer::RangeValueProvider_GetMinimum

Source

pub fn range_value_provider_get_maximum(&self) -> f64

IFrnAutomationPeer::RangeValueProvider_GetMaximum

Source

pub fn range_value_provider_get_small_change(&self) -> f64

IFrnAutomationPeer::RangeValueProvider_GetSmallChange

Source

pub fn range_value_provider_get_large_change(&self) -> f64

IFrnAutomationPeer::RangeValueProvider_GetLargeChange

Source

pub fn range_value_provider_set_value(&self, value: f64)

IFrnAutomationPeer::RangeValueProvider_SetValue

Source

pub fn range_value_provider_is_read_only(&self) -> bool

IFrnAutomationPeer::RangeValueProvider_IsReadOnly

Source

pub fn is_selection_item_provider(&self) -> bool

IFrnAutomationPeer::IsSelectionItemProvider

Source

pub fn selection_item_provider_is_selected(&self) -> bool

IFrnAutomationPeer::SelectionItemProvider_IsSelected

Source

pub fn selection_item_provider_select(&self)

IFrnAutomationPeer::SelectionItemProvider_Select

Source

pub fn selection_item_provider_add_to_selection(&self)

IFrnAutomationPeer::SelectionItemProvider_AddToSelection

Source

pub fn selection_item_provider_remove_from_selection(&self)

IFrnAutomationPeer::SelectionItemProvider_RemoveFromSelection

Source

pub fn scroll_provider_get_horizontal_scroll_bar( &self, ) -> Option<ComPtr<IFrnAutomationPeer>>

IFrnAutomationPeer::ScrollProvider_GetHorizontalScrollBar

Source

pub fn scroll_provider_get_vertical_scroll_bar( &self, ) -> Option<ComPtr<IFrnAutomationPeer>>

IFrnAutomationPeer::ScrollProvider_GetVerticalScrollBar

Source

pub fn is_toggle_provider(&self) -> bool

IFrnAutomationPeer::IsToggleProvider

Source

pub fn toggle_provider_get_toggle_state(&self) -> i32

IFrnAutomationPeer::ToggleProvider_GetToggleState

Source

pub fn toggle_provider_toggle(&self)

IFrnAutomationPeer::ToggleProvider_Toggle

Source

pub fn is_value_provider(&self) -> bool

IFrnAutomationPeer::IsValueProvider

Source

pub fn value_provider_get_value(&self) -> Option<ComPtr<IFrnString>>

IFrnAutomationPeer::ValueProvider_GetValue

Source

pub fn value_provider_set_value(&self, value: Option<&CStr>)

IFrnAutomationPeer::ValueProvider_SetValue

Source

pub fn value_provider_is_read_only(&self) -> bool

IFrnAutomationPeer::ValueProvider_IsReadOnly

Source

pub fn get_help_text(&self) -> Option<ComPtr<IFrnString>>

IFrnAutomationPeer::GetHelpText

Source

pub fn get_placeholder_text(&self) -> Option<ComPtr<IFrnString>>

IFrnAutomationPeer::GetPlaceholderText

Source

pub fn get_landmark_type(&self) -> FrnLandmarkType

IFrnAutomationPeer::GetLandmarkType

Source

pub fn get_heading_level(&self) -> i32

IFrnAutomationPeer::GetHeadingLevel

Source

pub fn get_live_setting(&self) -> FrnLiveSetting

IFrnAutomationPeer::GetLiveSetting

Methods from Deref<Target = IUnknown>§

Source

pub unsafe fn query_interface_raw( &self, riid: &Guid, ppv: *mut *mut c_void, ) -> u32

§Safety

Raw COM call; ppv must be valid for writes.

Source

pub unsafe fn add_ref(&self) -> u32

§Safety

Raw reference-count manipulation.

Source

pub unsafe fn release(&self) -> u32

§Safety

Raw reference-count manipulation; self may be dangling afterwards.

Trait Implementations§

Source§

impl Deref for IFrnAutomationPeer

Source§

type Target = IUnknown

The resulting type after dereferencing.
Source§

fn deref(&self) -> &IUnknown

Dereferences the value.
Source§

impl<T: IFrnAutomationPeerImpl> ImplementedBy<T> for IFrnAutomationPeer

Source§

impl Interface for IFrnAutomationPeer

Source§

const IID: Guid

The interface’s IID as written in the IDL.
Source§

const NAME: &'static str = "IFrnAutomationPeer"

IDL name, for diagnostics.
Source§

type Vtbl = IFrnAutomationPeerVtbl

Source§

fn matches_iid(iid: &Guid) -> bool

true if iid names this interface or one of its bases (including IUnknown). Both the IDL value and the value materialized by com.h (see Guid::as_com_h_materialized) are accepted.
Source§

fn as_unknown(&self) -> &IUnknown

Source§

fn as_raw(&self) -> *mut Self

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> ClassDefaults for T
where T: ?Sized,

Source§

fn static_constructor()

The static constructor of a type: work done once per thread, after the properties of the type are registered and before its first instance exists (class handlers, affects_render, metadata overrides). Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> IUnknownImpl for T
where T: ?Sized,

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<P, T> Receiver for P
where P: Deref<Target = T> + ?Sized, T: ?Sized,

Source§

type Target = T

🔬This is a nightly-only experimental API. (arbitrary_self_types)
The target type on which the method may be called.
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.