pub struct IFrnAutomationPeer { /* private fields */ }Implementations§
Source§impl IFrnAutomationPeer
impl IFrnAutomationPeer
Sourcepub fn from_impl<T: IFrnAutomationPeerImpl + 'static>(
value: T,
) -> ComPtr<IFrnAutomationPeer>
pub fn from_impl<T: IFrnAutomationPeerImpl + 'static>( value: T, ) -> ComPtr<IFrnAutomationPeer>
Wraps a Rust implementation into a COM object native code can call.
Sourcepub fn get_node(&self) -> Option<ComPtr<IFrnAutomationNode>>
pub fn get_node(&self) -> Option<ComPtr<IFrnAutomationNode>>
IFrnAutomationPeer::GetNode
Sourcepub fn set_node(&self, node: Option<&IFrnAutomationNode>)
pub fn set_node(&self, node: Option<&IFrnAutomationNode>)
IFrnAutomationPeer::SetNode
Sourcepub fn get_accelerator_key(&self) -> Option<ComPtr<IFrnString>>
pub fn get_accelerator_key(&self) -> Option<ComPtr<IFrnString>>
IFrnAutomationPeer::GetAcceleratorKey
Sourcepub fn get_access_key(&self) -> Option<ComPtr<IFrnString>>
pub fn get_access_key(&self) -> Option<ComPtr<IFrnString>>
IFrnAutomationPeer::GetAccessKey
Sourcepub fn get_automation_control_type(&self) -> FrnAutomationControlType
pub fn get_automation_control_type(&self) -> FrnAutomationControlType
IFrnAutomationPeer::GetAutomationControlType
Sourcepub fn get_automation_id(&self) -> Option<ComPtr<IFrnString>>
pub fn get_automation_id(&self) -> Option<ComPtr<IFrnString>>
IFrnAutomationPeer::GetAutomationId
Sourcepub fn get_bounding_rectangle(&self) -> FrnRect
pub fn get_bounding_rectangle(&self) -> FrnRect
IFrnAutomationPeer::GetBoundingRectangle
Sourcepub fn get_children(&self) -> Option<ComPtr<IFrnAutomationPeerArray>>
pub fn get_children(&self) -> Option<ComPtr<IFrnAutomationPeerArray>>
IFrnAutomationPeer::GetChildren
Sourcepub fn get_class_name(&self) -> Option<ComPtr<IFrnString>>
pub fn get_class_name(&self) -> Option<ComPtr<IFrnString>>
IFrnAutomationPeer::GetClassName
Sourcepub fn get_labeled_by(&self) -> Option<ComPtr<IFrnAutomationPeer>>
pub fn get_labeled_by(&self) -> Option<ComPtr<IFrnAutomationPeer>>
IFrnAutomationPeer::GetLabeledBy
Sourcepub fn get_name(&self) -> Option<ComPtr<IFrnString>>
pub fn get_name(&self) -> Option<ComPtr<IFrnString>>
IFrnAutomationPeer::GetName
Sourcepub fn get_parent(&self) -> Option<ComPtr<IFrnAutomationPeer>>
pub fn get_parent(&self) -> Option<ComPtr<IFrnAutomationPeer>>
IFrnAutomationPeer::GetParent
Sourcepub fn get_templated_parent(&self) -> Option<ComPtr<IFrnAutomationPeer>>
pub fn get_templated_parent(&self) -> Option<ComPtr<IFrnAutomationPeer>>
IFrnAutomationPeer::GetTemplatedParent
Sourcepub fn get_visual_root(&self) -> Option<ComPtr<IFrnAutomationPeer>>
pub fn get_visual_root(&self) -> Option<ComPtr<IFrnAutomationPeer>>
IFrnAutomationPeer::GetVisualRoot
Sourcepub fn has_keyboard_focus(&self) -> bool
pub fn has_keyboard_focus(&self) -> bool
IFrnAutomationPeer::HasKeyboardFocus
Sourcepub fn is_content_element(&self) -> bool
pub fn is_content_element(&self) -> bool
IFrnAutomationPeer::IsContentElement
Sourcepub fn is_control_element(&self) -> bool
pub fn is_control_element(&self) -> bool
IFrnAutomationPeer::IsControlElement
Sourcepub fn is_enabled(&self) -> bool
pub fn is_enabled(&self) -> bool
IFrnAutomationPeer::IsEnabled
Sourcepub fn is_keyboard_focusable(&self) -> bool
pub fn is_keyboard_focusable(&self) -> bool
IFrnAutomationPeer::IsKeyboardFocusable
IFrnAutomationPeer::ShowContextMenu
Sourcepub fn bring_into_view(&self)
pub fn bring_into_view(&self)
IFrnAutomationPeer::BringIntoView
Sourcepub fn get_root_peer(&self) -> Option<ComPtr<IFrnAutomationPeer>>
pub fn get_root_peer(&self) -> Option<ComPtr<IFrnAutomationPeer>>
IFrnAutomationPeer::GetRootPeer
Sourcepub fn is_interop_peer(&self) -> bool
pub fn is_interop_peer(&self) -> bool
IFrnAutomationPeer::IsInteropPeer
Sourcepub fn interop_peer_get_native_control_handle(&self) -> *mut c_void
pub fn interop_peer_get_native_control_handle(&self) -> *mut c_void
IFrnAutomationPeer::InteropPeer_GetNativeControlHandle
Sourcepub fn is_root_provider(&self) -> bool
pub fn is_root_provider(&self) -> bool
IFrnAutomationPeer::IsRootProvider
Sourcepub fn root_provider_get_window(&self) -> Option<ComPtr<IFrnWindowBase>>
pub fn root_provider_get_window(&self) -> Option<ComPtr<IFrnWindowBase>>
IFrnAutomationPeer::RootProvider_GetWindow
Sourcepub fn root_provider_get_focus(&self) -> Option<ComPtr<IFrnAutomationPeer>>
pub fn root_provider_get_focus(&self) -> Option<ComPtr<IFrnAutomationPeer>>
IFrnAutomationPeer::RootProvider_GetFocus
Sourcepub fn root_provider_get_peer_from_point(
&self,
point: FrnPoint,
) -> Option<ComPtr<IFrnAutomationPeer>>
pub fn root_provider_get_peer_from_point( &self, point: FrnPoint, ) -> Option<ComPtr<IFrnAutomationPeer>>
IFrnAutomationPeer::RootProvider_GetPeerFromPoint
Sourcepub fn is_embedded_root_provider(&self) -> bool
pub fn is_embedded_root_provider(&self) -> bool
IFrnAutomationPeer::IsEmbeddedRootProvider
Sourcepub fn embedded_root_provider_get_focus(
&self,
) -> Option<ComPtr<IFrnAutomationPeer>>
pub fn embedded_root_provider_get_focus( &self, ) -> Option<ComPtr<IFrnAutomationPeer>>
IFrnAutomationPeer::EmbeddedRootProvider_GetFocus
Sourcepub fn embedded_root_provider_get_peer_from_point(
&self,
point: FrnPoint,
) -> Option<ComPtr<IFrnAutomationPeer>>
pub fn embedded_root_provider_get_peer_from_point( &self, point: FrnPoint, ) -> Option<ComPtr<IFrnAutomationPeer>>
IFrnAutomationPeer::EmbeddedRootProvider_GetPeerFromPoint
Sourcepub fn is_expand_collapse_provider(&self) -> bool
pub fn is_expand_collapse_provider(&self) -> bool
IFrnAutomationPeer::IsExpandCollapseProvider
Sourcepub fn expand_collapse_provider_get_is_expanded(&self) -> bool
pub fn expand_collapse_provider_get_is_expanded(&self) -> bool
IFrnAutomationPeer::ExpandCollapseProvider_GetIsExpanded
IFrnAutomationPeer::ExpandCollapseProvider_GetShowsMenu
Sourcepub fn expand_collapse_provider_expand(&self)
pub fn expand_collapse_provider_expand(&self)
IFrnAutomationPeer::ExpandCollapseProvider_Expand
Sourcepub fn expand_collapse_provider_collapse(&self)
pub fn expand_collapse_provider_collapse(&self)
IFrnAutomationPeer::ExpandCollapseProvider_Collapse
Sourcepub fn is_invoke_provider(&self) -> bool
pub fn is_invoke_provider(&self) -> bool
IFrnAutomationPeer::IsInvokeProvider
Sourcepub fn invoke_provider_invoke(&self)
pub fn invoke_provider_invoke(&self)
IFrnAutomationPeer::InvokeProvider_Invoke
Sourcepub fn is_range_value_provider(&self) -> bool
pub fn is_range_value_provider(&self) -> bool
IFrnAutomationPeer::IsRangeValueProvider
Sourcepub fn range_value_provider_get_value(&self) -> f64
pub fn range_value_provider_get_value(&self) -> f64
IFrnAutomationPeer::RangeValueProvider_GetValue
Sourcepub fn range_value_provider_get_minimum(&self) -> f64
pub fn range_value_provider_get_minimum(&self) -> f64
IFrnAutomationPeer::RangeValueProvider_GetMinimum
Sourcepub fn range_value_provider_get_maximum(&self) -> f64
pub fn range_value_provider_get_maximum(&self) -> f64
IFrnAutomationPeer::RangeValueProvider_GetMaximum
Sourcepub fn range_value_provider_get_small_change(&self) -> f64
pub fn range_value_provider_get_small_change(&self) -> f64
IFrnAutomationPeer::RangeValueProvider_GetSmallChange
Sourcepub fn range_value_provider_get_large_change(&self) -> f64
pub fn range_value_provider_get_large_change(&self) -> f64
IFrnAutomationPeer::RangeValueProvider_GetLargeChange
Sourcepub fn range_value_provider_set_value(&self, value: f64)
pub fn range_value_provider_set_value(&self, value: f64)
IFrnAutomationPeer::RangeValueProvider_SetValue
Sourcepub fn range_value_provider_is_read_only(&self) -> bool
pub fn range_value_provider_is_read_only(&self) -> bool
IFrnAutomationPeer::RangeValueProvider_IsReadOnly
Sourcepub fn is_selection_item_provider(&self) -> bool
pub fn is_selection_item_provider(&self) -> bool
IFrnAutomationPeer::IsSelectionItemProvider
Sourcepub fn selection_item_provider_is_selected(&self) -> bool
pub fn selection_item_provider_is_selected(&self) -> bool
IFrnAutomationPeer::SelectionItemProvider_IsSelected
Sourcepub fn selection_item_provider_select(&self)
pub fn selection_item_provider_select(&self)
IFrnAutomationPeer::SelectionItemProvider_Select
Sourcepub fn selection_item_provider_add_to_selection(&self)
pub fn selection_item_provider_add_to_selection(&self)
IFrnAutomationPeer::SelectionItemProvider_AddToSelection
Sourcepub fn selection_item_provider_remove_from_selection(&self)
pub fn selection_item_provider_remove_from_selection(&self)
IFrnAutomationPeer::SelectionItemProvider_RemoveFromSelection
Sourcepub fn scroll_provider_get_horizontal_scroll_bar(
&self,
) -> Option<ComPtr<IFrnAutomationPeer>>
pub fn scroll_provider_get_horizontal_scroll_bar( &self, ) -> Option<ComPtr<IFrnAutomationPeer>>
IFrnAutomationPeer::ScrollProvider_GetHorizontalScrollBar
Sourcepub fn scroll_provider_get_vertical_scroll_bar(
&self,
) -> Option<ComPtr<IFrnAutomationPeer>>
pub fn scroll_provider_get_vertical_scroll_bar( &self, ) -> Option<ComPtr<IFrnAutomationPeer>>
IFrnAutomationPeer::ScrollProvider_GetVerticalScrollBar
Sourcepub fn is_toggle_provider(&self) -> bool
pub fn is_toggle_provider(&self) -> bool
IFrnAutomationPeer::IsToggleProvider
Sourcepub fn toggle_provider_get_toggle_state(&self) -> i32
pub fn toggle_provider_get_toggle_state(&self) -> i32
IFrnAutomationPeer::ToggleProvider_GetToggleState
Sourcepub fn toggle_provider_toggle(&self)
pub fn toggle_provider_toggle(&self)
IFrnAutomationPeer::ToggleProvider_Toggle
Sourcepub fn is_value_provider(&self) -> bool
pub fn is_value_provider(&self) -> bool
IFrnAutomationPeer::IsValueProvider
Sourcepub fn value_provider_get_value(&self) -> Option<ComPtr<IFrnString>>
pub fn value_provider_get_value(&self) -> Option<ComPtr<IFrnString>>
IFrnAutomationPeer::ValueProvider_GetValue
Sourcepub fn value_provider_set_value(&self, value: Option<&CStr>)
pub fn value_provider_set_value(&self, value: Option<&CStr>)
IFrnAutomationPeer::ValueProvider_SetValue
Sourcepub fn value_provider_is_read_only(&self) -> bool
pub fn value_provider_is_read_only(&self) -> bool
IFrnAutomationPeer::ValueProvider_IsReadOnly
Sourcepub fn get_help_text(&self) -> Option<ComPtr<IFrnString>>
pub fn get_help_text(&self) -> Option<ComPtr<IFrnString>>
IFrnAutomationPeer::GetHelpText
Sourcepub fn get_placeholder_text(&self) -> Option<ComPtr<IFrnString>>
pub fn get_placeholder_text(&self) -> Option<ComPtr<IFrnString>>
IFrnAutomationPeer::GetPlaceholderText
Sourcepub fn get_landmark_type(&self) -> FrnLandmarkType
pub fn get_landmark_type(&self) -> FrnLandmarkType
IFrnAutomationPeer::GetLandmarkType
Sourcepub fn get_heading_level(&self) -> i32
pub fn get_heading_level(&self) -> i32
IFrnAutomationPeer::GetHeadingLevel
Sourcepub fn get_live_setting(&self) -> FrnLiveSetting
pub fn get_live_setting(&self) -> FrnLiveSetting
IFrnAutomationPeer::GetLiveSetting
Methods from Deref<Target = IUnknown>§
Trait Implementations§
Source§impl Deref for IFrnAutomationPeer
impl Deref for IFrnAutomationPeer
Source§impl<T: IFrnAutomationPeerImpl> ImplementedBy<T> for IFrnAutomationPeer
impl<T: IFrnAutomationPeerImpl> ImplementedBy<T> for IFrnAutomationPeer
const VTBL: &'static IFrnAutomationPeerVtbl
Source§impl Interface for IFrnAutomationPeer
impl Interface for IFrnAutomationPeer
type Vtbl = IFrnAutomationPeerVtbl
Source§fn matches_iid(iid: &Guid) -> bool
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.fn as_unknown(&self) -> &IUnknown
fn as_raw(&self) -> *mut Self
Auto Trait Implementations§
impl !Send for IFrnAutomationPeer
impl !Sync for IFrnAutomationPeer
impl Freeze for IFrnAutomationPeer
impl RefUnwindSafe for IFrnAutomationPeer
impl Unpin for IFrnAutomationPeer
impl UnsafeUnpin for IFrnAutomationPeer
impl UnwindSafe for IFrnAutomationPeer
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
affects_render, metadata
overrides). Read more