Struct windows::Win32::Media::Speech::ISpeechTextSelectionInformation
pub struct ISpeechTextSelectionInformation(/* private fields */);
Implementations§
§impl ISpeechTextSelectionInformation
impl ISpeechTextSelectionInformation
pub unsafe fn SetActiveOffset(&self, activeoffset: i32) -> Result<()>
pub unsafe fn ActiveOffset(&self) -> Result<i32>
pub unsafe fn SetActiveLength(&self, activelength: i32) -> Result<()>
pub unsafe fn ActiveLength(&self) -> Result<i32>
pub unsafe fn SetSelectionOffset(&self, selectionoffset: i32) -> Result<()>
pub unsafe fn SelectionOffset(&self) -> Result<i32>
pub unsafe fn SetSelectionLength(&self, selectionlength: i32) -> Result<()>
pub unsafe fn SelectionLength(&self) -> Result<i32>
Trait Implementations§
§impl Clone for ISpeechTextSelectionInformation
impl Clone for ISpeechTextSelectionInformation
§fn clone(&self) -> ISpeechTextSelectionInformation
fn clone(&self) -> ISpeechTextSelectionInformation
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 ISpeechTextSelectionInformation
impl Debug for ISpeechTextSelectionInformation
§impl From<&ISpeechTextSelectionInformation> for &IDispatch
impl From<&ISpeechTextSelectionInformation> for &IDispatch
§fn from(value: &ISpeechTextSelectionInformation) -> Self
fn from(value: &ISpeechTextSelectionInformation) -> Self
Converts to this type from the input type.
§impl From<&ISpeechTextSelectionInformation> for &IUnknown
impl From<&ISpeechTextSelectionInformation> for &IUnknown
§fn from(value: &ISpeechTextSelectionInformation) -> Self
fn from(value: &ISpeechTextSelectionInformation) -> Self
Converts to this type from the input type.
§impl From<ISpeechTextSelectionInformation> for IDispatch
impl From<ISpeechTextSelectionInformation> for IDispatch
§fn from(value: ISpeechTextSelectionInformation) -> Self
fn from(value: ISpeechTextSelectionInformation) -> Self
Converts to this type from the input type.
§impl From<ISpeechTextSelectionInformation> for IUnknown
impl From<ISpeechTextSelectionInformation> for IUnknown
§fn from(value: ISpeechTextSelectionInformation) -> Self
fn from(value: ISpeechTextSelectionInformation) -> Self
Converts to this type from the input type.
§impl Interface for ISpeechTextSelectionInformation
impl Interface for ISpeechTextSelectionInformation
§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 ISpeechTextSelectionInformation
impl PartialEq for ISpeechTextSelectionInformation
§fn eq(&self, other: &ISpeechTextSelectionInformation) -> bool
fn eq(&self, other: &ISpeechTextSelectionInformation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ISpeechTextSelectionInformation
impl StructuralPartialEq for ISpeechTextSelectionInformation
Auto Trait Implementations§
impl RefUnwindSafe for ISpeechTextSelectionInformation
impl !Send for ISpeechTextSelectionInformation
impl !Sync for ISpeechTextSelectionInformation
impl Unpin for ISpeechTextSelectionInformation
impl UnwindSafe for ISpeechTextSelectionInformation
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