[−][src]Struct dxplr::dwrite::TextFormat
Trait Implementations
impl Clone for TextFormat
[src]
pub fn clone(&self) -> TextFormat
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for TextFormat
[src]
impl ITextFormat for TextFormat
[src]
pub fn get_flow_direction(&self) -> FlowDirection
[src]
pub fn get_font_collection(&self) -> Result<Option<FontCollection>, HResult>
[src]
pub fn get_font_family_name(&self) -> Result<String, HResult>
[src]
pub fn get_font_family_name_length(&self) -> u32
[src]
pub fn get_font_size(&self) -> f32
[src]
pub fn get_font_stretch(&self) -> FontStretch
[src]
pub fn get_font_style(&self) -> FontStyle
[src]
pub fn get_font_weight(&self) -> FontWeight
[src]
pub fn get_incremental_tab_stop(&self) -> f32
[src]
pub fn get_line_spacing(&self) -> Result<GetLineSpacingResult, HResult>
[src]
pub fn get_locale_name(&self) -> Result<String, HResult>
[src]
pub fn get_locale_name_length(&self) -> u32
[src]
pub fn get_paragraph_alignment(&self) -> ParagraphAlignment
[src]
pub fn get_reading_direction(&self) -> ReadingDirection
[src]
pub fn get_text_alignment(&self) -> TextAlignment
[src]
pub fn get_trimming(&self) -> Result<GetTrimmingResult, HResult>
[src]
pub fn get_word_wrapping(&self) -> WordWrapping
[src]
pub fn set_flow_direction(
&self,
flow_direction: FlowDirection
) -> Result<(), HResult>
[src]
&self,
flow_direction: FlowDirection
) -> Result<(), HResult>
pub fn set_incremental_tab_stop(&self, tab_stop: f32) -> Result<(), HResult>
[src]
pub fn set_line_spacing(
&self,
method: LineSpacingMethod,
line_spacing: f32,
baseline: f32
) -> Result<(), HResult>
[src]
&self,
method: LineSpacingMethod,
line_spacing: f32,
baseline: f32
) -> Result<(), HResult>
pub fn set_paragraph_alignment(
&self,
alignment: ParagraphAlignment
) -> Result<(), HResult>
[src]
&self,
alignment: ParagraphAlignment
) -> Result<(), HResult>
pub fn set_text_alignment(
&self,
alignment: TextAlignment
) -> Result<(), HResult>
[src]
&self,
alignment: TextAlignment
) -> Result<(), HResult>
pub fn set_trimming(
&self,
options: &Trimming,
sign: &impl IInlineObject
) -> Result<(), HResult>
[src]
&self,
options: &Trimming,
sign: &impl IInlineObject
) -> Result<(), HResult>
pub fn set_word_wrapping(
&self,
word_wrapping: WordWrapping
) -> Result<(), HResult>
[src]
&self,
word_wrapping: WordWrapping
) -> Result<(), HResult>
impl Interface for TextFormat
[src]
type APIType = IDWriteTextFormat
pub fn new(p: ComPtr<Self::APIType>) -> Self
[src]
pub fn uuidof() -> Guid
[src]
pub fn as_ptr(&self) -> *mut Self::APIType
[src]
pub fn as_com_ptr(&self) -> &ComPtr<Self::APIType>
[src]
pub fn as_unknown(&self) -> *mut IUnknown
[src]
pub fn from_com_ptr(p: ComPtr<Self::APIType>) -> Self
[src]
pub fn query_interface<T: Interface>(&self) -> Result<T, HResult>
[src]
Auto Trait Implementations
impl RefUnwindSafe for TextFormat
impl Send for TextFormat
impl Sync for TextFormat
impl Unpin for TextFormat
impl UnwindSafe for TextFormat
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,