Struct mltg_bindings::Windows::Win32::Graphics::DirectWrite::IDWriteTextFormat [−][src]
#[repr(transparent)]pub struct IDWriteTextFormat(_);
Implementations
pub unsafe fn SetParagraphAlignment(
&self,
paragraphalignment: DWRITE_PARAGRAPH_ALIGNMENT
) -> HRESULT
[src]pub unsafe fn SetReadingDirection(
&self,
readingdirection: DWRITE_READING_DIRECTION
) -> HRESULT
[src]pub unsafe fn SetTrimming<'a>(
&self,
trimmingoptions: *const DWRITE_TRIMMING,
trimmingsign: impl IntoParam<'a, IDWriteInlineObject>
) -> HRESULT
[src]pub unsafe fn SetLineSpacing(
&self,
linespacingmethod: DWRITE_LINE_SPACING_METHOD,
linespacing: f32,
baseline: f32
) -> HRESULT
[src]pub unsafe fn GetTrimming(
&self,
trimmingoptions: *mut DWRITE_TRIMMING,
trimmingsign: *mut Option<IDWriteInlineObject>
) -> HRESULT
[src]pub unsafe fn GetLineSpacing(
&self,
linespacingmethod: *mut DWRITE_LINE_SPACING_METHOD,
linespacing: *mut f32,
baseline: *mut f32
) -> HRESULT
[src]pub unsafe fn GetFontCollection(
&self,
fontcollection: *mut Option<IDWriteFontCollection>
) -> HRESULT
[src]Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
type Vtable = IDWriteTextFormat_abi
Returns the vtable for an assumed interface. The name comes from Box
’s assume_init
method 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 IDWriteTextFormat
impl !Send for IDWriteTextFormat
impl !Sync for IDWriteTextFormat
impl Unpin for IDWriteTextFormat
impl UnwindSafe for IDWriteTextFormat
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