#[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§
impl Freeze for IDWriteTextFormatVtbl
impl RefUnwindSafe for IDWriteTextFormatVtbl
impl Send for IDWriteTextFormatVtbl
impl Sync for IDWriteTextFormatVtbl
impl Unpin for IDWriteTextFormatVtbl
impl UnwindSafe for IDWriteTextFormatVtbl
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more