Struct IDWriteTextFormatVtbl

Source
#[repr(C)]
pub struct IDWriteTextFormatVtbl {
Show 26 fields pub parent: IUnknownVtbl, pub SetTextAlignment: unsafe extern "system" fn(This: *mut IDWriteTextFormat, textAlignment: DWRITE_TEXT_ALIGNMENT) -> HRESULT, pub SetParagraphAlignment: unsafe extern "system" fn(This: *mut IDWriteTextFormat, paragraphAlignment: DWRITE_PARAGRAPH_ALIGNMENT) -> HRESULT, pub SetWordWrapping: unsafe extern "system" fn(This: *mut IDWriteTextFormat, wordWrapping: DWRITE_WORD_WRAPPING) -> HRESULT, pub SetReadingDirection: unsafe extern "system" fn(This: *mut IDWriteTextFormat, readingDirection: DWRITE_READING_DIRECTION) -> HRESULT, pub SetFlowDirection: unsafe extern "system" fn(This: *mut IDWriteTextFormat, flowDirection: DWRITE_FLOW_DIRECTION) -> HRESULT, pub SetIncrementalTabStop: unsafe extern "system" fn(This: *mut IDWriteTextFormat, incrementalTabStop: FLOAT) -> HRESULT, pub SetTrimming: unsafe extern "system" fn(This: *mut IDWriteTextFormat, trimmingOptions: *const DWRITE_TRIMMING, trimmingSign: *mut IDWriteInlineObject) -> HRESULT, pub SetLineSpacing: unsafe extern "system" fn(This: *mut IDWriteTextFormat, lineSpacingMethod: DWRITE_LINE_SPACING_METHOD, lineSpacing: FLOAT, baseLine: FLOAT) -> HRESULT, pub GetTextAlignment: unsafe extern "system" fn(This: *mut IDWriteTextFormat) -> DWRITE_TEXT_ALIGNMENT, pub GetParagraphAlignment: unsafe extern "system" fn(This: *mut IDWriteTextFormat) -> DWRITE_PARAGRAPH_ALIGNMENT, pub GetWordWrapping: unsafe extern "system" fn(This: *mut IDWriteTextFormat) -> DWRITE_WORD_WRAPPING, pub GetReadingDirection: unsafe extern "system" fn(This: *mut IDWriteTextFormat) -> DWRITE_READING_DIRECTION, pub GetFlowDirection: unsafe extern "system" fn(This: *mut IDWriteTextFormat) -> DWRITE_FLOW_DIRECTION, pub GetIncrementalTabStop: unsafe extern "system" fn(This: *mut IDWriteTextFormat) -> FLOAT, pub GetTrimming: unsafe extern "system" fn(This: *mut IDWriteTextFormat, trimmingOptions: *mut DWRITE_TRIMMING, trimmingSign: *mut *mut IDWriteInlineObject) -> HRESULT, pub GetLineSpacing: unsafe extern "system" fn(This: *mut IDWriteTextFormat, lineSpacingMethod: *mut DWRITE_LINE_SPACING_METHOD, lineSpacing: *mut FLOAT, baseline: *mut FLOAT) -> HRESULT, pub GetFontCollection: unsafe extern "system" fn(This: *mut IDWriteTextFormat, fontCollection: *mut *mut IDWriteFontCollection) -> HRESULT, pub GetFontFamilyNameLength: unsafe extern "system" fn(This: *mut IDWriteTextFormat) -> UINT32, pub GetFontFamilyName: unsafe extern "system" fn(This: *mut IDWriteTextFormat, fontFamilyName: *mut WCHAR, nameSize: UINT32) -> HRESULT, pub GetFontWeight: unsafe extern "system" fn(This: *mut IDWriteTextFormat) -> DWRITE_FONT_WEIGHT, pub GetFontStyle: unsafe extern "system" fn(This: *mut IDWriteTextFormat) -> DWRITE_FONT_STYLE, pub GetFontStretch: unsafe extern "system" fn(This: *mut IDWriteTextFormat) -> DWRITE_FONT_STRETCH, pub GetFontSize: unsafe extern "system" fn(This: *mut IDWriteTextFormat) -> FLOAT, pub GetLocaleNameLength: unsafe extern "system" fn(This: *mut IDWriteTextFormat) -> UINT32, pub GetLocaleName: unsafe extern "system" fn(This: *mut IDWriteTextFormat, localeName: *mut WCHAR, nameSize: UINT32) -> HRESULT,
}

Fields§

§parent: IUnknownVtbl§SetTextAlignment: unsafe extern "system" fn(This: *mut IDWriteTextFormat, textAlignment: DWRITE_TEXT_ALIGNMENT) -> HRESULT§SetParagraphAlignment: unsafe extern "system" fn(This: *mut IDWriteTextFormat, paragraphAlignment: DWRITE_PARAGRAPH_ALIGNMENT) -> HRESULT§SetWordWrapping: unsafe extern "system" fn(This: *mut IDWriteTextFormat, wordWrapping: DWRITE_WORD_WRAPPING) -> HRESULT§SetReadingDirection: unsafe extern "system" fn(This: *mut IDWriteTextFormat, readingDirection: DWRITE_READING_DIRECTION) -> HRESULT§SetFlowDirection: unsafe extern "system" fn(This: *mut IDWriteTextFormat, flowDirection: DWRITE_FLOW_DIRECTION) -> HRESULT§SetIncrementalTabStop: unsafe extern "system" fn(This: *mut IDWriteTextFormat, incrementalTabStop: FLOAT) -> HRESULT§SetTrimming: unsafe extern "system" fn(This: *mut IDWriteTextFormat, trimmingOptions: *const DWRITE_TRIMMING, trimmingSign: *mut IDWriteInlineObject) -> HRESULT§SetLineSpacing: unsafe extern "system" fn(This: *mut IDWriteTextFormat, lineSpacingMethod: DWRITE_LINE_SPACING_METHOD, lineSpacing: FLOAT, baseLine: FLOAT) -> HRESULT§GetTextAlignment: unsafe extern "system" fn(This: *mut IDWriteTextFormat) -> DWRITE_TEXT_ALIGNMENT§GetParagraphAlignment: unsafe extern "system" fn(This: *mut IDWriteTextFormat) -> DWRITE_PARAGRAPH_ALIGNMENT§GetWordWrapping: unsafe extern "system" fn(This: *mut IDWriteTextFormat) -> DWRITE_WORD_WRAPPING§GetReadingDirection: unsafe extern "system" fn(This: *mut IDWriteTextFormat) -> DWRITE_READING_DIRECTION§GetFlowDirection: unsafe extern "system" fn(This: *mut IDWriteTextFormat) -> DWRITE_FLOW_DIRECTION§GetIncrementalTabStop: unsafe extern "system" fn(This: *mut IDWriteTextFormat) -> FLOAT§GetTrimming: unsafe extern "system" fn(This: *mut IDWriteTextFormat, trimmingOptions: *mut DWRITE_TRIMMING, trimmingSign: *mut *mut IDWriteInlineObject) -> HRESULT§GetLineSpacing: unsafe extern "system" fn(This: *mut IDWriteTextFormat, lineSpacingMethod: *mut DWRITE_LINE_SPACING_METHOD, lineSpacing: *mut FLOAT, baseline: *mut FLOAT) -> HRESULT§GetFontCollection: unsafe extern "system" fn(This: *mut IDWriteTextFormat, fontCollection: *mut *mut IDWriteFontCollection) -> HRESULT§GetFontFamilyNameLength: unsafe extern "system" fn(This: *mut IDWriteTextFormat) -> UINT32§GetFontFamilyName: unsafe extern "system" fn(This: *mut IDWriteTextFormat, fontFamilyName: *mut WCHAR, nameSize: UINT32) -> HRESULT§GetFontWeight: unsafe extern "system" fn(This: *mut IDWriteTextFormat) -> DWRITE_FONT_WEIGHT§GetFontStyle: unsafe extern "system" fn(This: *mut IDWriteTextFormat) -> DWRITE_FONT_STYLE§GetFontStretch: unsafe extern "system" fn(This: *mut IDWriteTextFormat) -> DWRITE_FONT_STRETCH§GetFontSize: unsafe extern "system" fn(This: *mut IDWriteTextFormat) -> FLOAT§GetLocaleNameLength: unsafe extern "system" fn(This: *mut IDWriteTextFormat) -> UINT32§GetLocaleName: unsafe extern "system" fn(This: *mut IDWriteTextFormat, localeName: *mut WCHAR, nameSize: UINT32) -> HRESULT

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.