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