Struct directwrite::text_format::TextFormat
[−]
[src]
pub struct TextFormat { /* fields omitted */ }
Methods
impl TextFormat
[src]
unsafe fn from_ptr(ptr: ComPtr<IDWriteTextFormat>) -> Self
unsafe fn get_ptr(&self) -> ComPtr<IDWriteTextFormat>
unsafe fn get_raw(&self) -> *mut IDWriteTextFormat
Trait Implementations
impl Clone for TextFormat
[src]
fn clone(&self) -> TextFormat
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for TextFormat
[src]
impl PartialEq for TextFormat
[src]
fn eq(&self, __arg_0: &TextFormat) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &TextFormat) -> bool
This method tests for !=
.
impl FromParams for TextFormat
[src]
type Params = Params
fn from_params(
factory: &mut IDWriteFactory,
params: Params
) -> Result<Self, DWriteError>
factory: &mut IDWriteFactory,
params: Params
) -> Result<Self, DWriteError>