Struct mltg_bindings::Windows::Win32::Graphics::DirectWrite::IDWriteTextFormat [−][src]
#[repr(transparent)]pub struct IDWriteTextFormat(_);
Implementations
pub unsafe fn SetParagraphAlignment(
&self,
paragraphalignment: DWRITE_PARAGRAPH_ALIGNMENT
) -> Result<()>
pub unsafe fn SetReadingDirection(
&self,
readingdirection: DWRITE_READING_DIRECTION
) -> Result<()>
pub unsafe fn SetTrimming<'a, Param1: IntoParam<'a, IDWriteInlineObject>>(
&self,
trimmingoptions: *const DWRITE_TRIMMING,
trimmingsign: Param1
) -> Result<()>
pub unsafe fn SetLineSpacing(
&self,
linespacingmethod: DWRITE_LINE_SPACING_METHOD,
linespacing: f32,
baseline: f32
) -> Result<()>
pub unsafe fn GetTrimming(
&self,
trimmingoptions: *mut DWRITE_TRIMMING,
trimmingsign: *mut Option<IDWriteInlineObject>
) -> Result<()>
pub unsafe fn GetLineSpacing(
&self,
linespacingmethod: *mut DWRITE_LINE_SPACING_METHOD,
linespacing: *mut f32,
baseline: *mut f32
) -> Result<()>
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.
Performs the conversion.
Performs the conversion.
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
Mutably borrows from an owned value. Read more