Struct windows::UI::Accessibility::ScreenReaderService
pub struct ScreenReaderService(/* private fields */);
Implementations§
§impl ScreenReaderService
impl ScreenReaderService
pub fn new() -> Result<Self>
pub fn CurrentScreenReaderPosition( &self ) -> Result<ScreenReaderPositionChangedEventArgs>
pub fn ScreenReaderPositionChanged<P0>( &self, handler: P0 ) -> Result<EventRegistrationToken>
pub fn RemoveScreenReaderPositionChanged( &self, token: EventRegistrationToken ) -> Result<()>
Trait Implementations§
§impl Clone for ScreenReaderService
impl Clone for ScreenReaderService
§fn clone(&self) -> ScreenReaderService
fn clone(&self) -> ScreenReaderService
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for ScreenReaderService
impl Debug for ScreenReaderService
§impl From<&ScreenReaderService> for &IInspectable
impl From<&ScreenReaderService> for &IInspectable
§fn from(value: &ScreenReaderService) -> Self
fn from(value: &ScreenReaderService) -> Self
Converts to this type from the input type.
§impl From<&ScreenReaderService> for &IUnknown
impl From<&ScreenReaderService> for &IUnknown
§fn from(value: &ScreenReaderService) -> Self
fn from(value: &ScreenReaderService) -> Self
Converts to this type from the input type.
§impl From<ScreenReaderService> for IInspectable
impl From<ScreenReaderService> for IInspectable
§fn from(value: ScreenReaderService) -> Self
fn from(value: ScreenReaderService) -> Self
Converts to this type from the input type.
§impl From<ScreenReaderService> for IUnknown
impl From<ScreenReaderService> for IUnknown
§fn from(value: ScreenReaderService) -> Self
fn from(value: ScreenReaderService) -> Self
Converts to this type from the input type.
§impl Interface for ScreenReaderService
impl Interface for ScreenReaderService
§fn as_raw(&self) -> *mut c_void
fn as_raw(&self) -> *mut c_void
Returns the raw COM interface pointer. The resulting pointer continues to be owned by the
Interface
implementation.§fn into_raw(self) -> *mut c_void
fn into_raw(self) -> *mut c_void
Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.
§fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
Attempts to cast the current interface to another interface using
QueryInterface
. Read more§impl PartialEq for ScreenReaderService
impl PartialEq for ScreenReaderService
§fn eq(&self, other: &ScreenReaderService) -> bool
fn eq(&self, other: &ScreenReaderService) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ScreenReaderService
impl Send for ScreenReaderService
impl StructuralPartialEq for ScreenReaderService
impl Sync for ScreenReaderService
Auto Trait Implementations§
impl RefUnwindSafe for ScreenReaderService
impl Unpin for ScreenReaderService
impl UnwindSafe for ScreenReaderService
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
Mutably borrows from an owned value. Read more