Struct windows::Win32::UI::TextServices::ITfContextOwnerCompositionSink
pub struct ITfContextOwnerCompositionSink(/* private fields */);
Implementations§
§impl ITfContextOwnerCompositionSink
impl ITfContextOwnerCompositionSink
pub unsafe fn OnStartComposition<P0>(&self, pcomposition: P0) -> Result<BOOL>where
P0: Param<ITfCompositionView>,
pub unsafe fn OnUpdateComposition<P0, P1>(
&self,
pcomposition: P0,
prangenew: P1,
) -> Result<()>where
P0: Param<ITfCompositionView>,
P1: Param<ITfRange>,
pub unsafe fn OnEndComposition<P0>(&self, pcomposition: P0) -> Result<()>where
P0: Param<ITfCompositionView>,
Trait Implementations§
§impl CanInto<IUnknown> for ITfContextOwnerCompositionSink
impl CanInto<IUnknown> for ITfContextOwnerCompositionSink
§impl Clone for ITfContextOwnerCompositionSink
impl Clone for ITfContextOwnerCompositionSink
§fn clone(&self) -> ITfContextOwnerCompositionSink
fn clone(&self) -> ITfContextOwnerCompositionSink
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 ITfContextOwnerCompositionSink
impl Debug for ITfContextOwnerCompositionSink
§impl Deref for ITfContextOwnerCompositionSink
impl Deref for ITfContextOwnerCompositionSink
§impl From<&ITfContextOwnerCompositionSink> for &IUnknown
impl From<&ITfContextOwnerCompositionSink> for &IUnknown
§fn from(value: &ITfContextOwnerCompositionSink) -> Self
fn from(value: &ITfContextOwnerCompositionSink) -> Self
Converts to this type from the input type.
§impl From<ITfContextOwnerCompositionSink> for IUnknown
impl From<ITfContextOwnerCompositionSink> for IUnknown
§fn from(value: ITfContextOwnerCompositionSink) -> Self
fn from(value: ITfContextOwnerCompositionSink) -> Self
Converts to this type from the input type.
§impl Interface for ITfContextOwnerCompositionSink
impl Interface for ITfContextOwnerCompositionSink
§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§fn cast_to_any<T>(&self) -> Result<&(dyn Any + 'static), Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_to_any<T>(&self) -> Result<&(dyn Any + 'static), Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. Read more§fn is_object<T>(&self) -> boolwhere
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn is_object<T>(&self) -> boolwhere
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
§fn cast_object_ref<T>(&self) -> Result<&<T as ComObjectInner>::Outer, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_object_ref<T>(&self) -> Result<&<T as ComObjectInner>::Outer, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. It returns a reference to the “outer”
object, e.g. &MyApp_Impl
, not the inner &MyApp
object. Read more§fn cast_object<T>(&self) -> Result<ComObject<T>, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_object<T>(&self) -> Result<ComObject<T>, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. It returns a reference to the “outer”
object, e.g. MyApp_Impl
, not the inner MyApp
object. Read more§fn downgrade(&self) -> Result<Weak<Self>, Error>
fn downgrade(&self) -> Result<Weak<Self>, Error>
Attempts to create a [
Weak
] reference to this object.§impl PartialEq for ITfContextOwnerCompositionSink
impl PartialEq for ITfContextOwnerCompositionSink
§fn eq(&self, other: &ITfContextOwnerCompositionSink) -> bool
fn eq(&self, other: &ITfContextOwnerCompositionSink) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ITfContextOwnerCompositionSink
impl StructuralPartialEq for ITfContextOwnerCompositionSink
Auto Trait Implementations§
impl Freeze for ITfContextOwnerCompositionSink
impl RefUnwindSafe for ITfContextOwnerCompositionSink
impl !Send for ITfContextOwnerCompositionSink
impl !Sync for ITfContextOwnerCompositionSink
impl Unpin for ITfContextOwnerCompositionSink
impl UnwindSafe for ITfContextOwnerCompositionSink
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)