Struct mltg_bindings::Windows::Win32::Graphics::DirectWrite::IDWriteTextAnalysisSource1 [−][src]
#[repr(transparent)]pub struct IDWriteTextAnalysisSource1(_);
Implementations
pub unsafe fn GetTextAtPosition(
&self,
textposition: u32,
textstring: *const *const u16,
textlength: *mut u32
) -> Result<()>
pub unsafe fn GetTextBeforePosition(
&self,
textposition: u32,
textstring: *const *const u16,
textlength: *mut u32
) -> Result<()>
pub unsafe fn GetLocaleName(
&self,
textposition: u32,
textlength: *mut u32,
localename: *const *const u16
) -> Result<()>
pub unsafe fn GetNumberSubstitution(
&self,
textposition: u32,
textlength: *mut u32,
numbersubstitution: *mut Option<IDWriteNumberSubstitution>
) -> Result<()>
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
type Vtable = IDWriteTextAnalysisSource1_abi
Returns the vtable for an assumed interface. The name comes from Box::assume_init()
as
it assumes the vtable is implemented by the current interface’s vtable (e.g. a parent interface). Read more
Attempts to cast the current interface to another interface using QueryInterface
.
The name cast
is preferred to query
because there is a WinRT method named query but not one
named cast. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for IDWriteTextAnalysisSource1
impl !Send for IDWriteTextAnalysisSource1
impl !Sync for IDWriteTextAnalysisSource1
impl Unpin for IDWriteTextAnalysisSource1
impl UnwindSafe for IDWriteTextAnalysisSource1
Blanket Implementations
Returns a pointer for setting the object’s value via an ABI call.
Casts the ABI representation to a Rust object by taking ownership of the bits.
Mutably borrows from an owned value. Read more