Struct windows::Win32::Graphics::DirectWrite::IDWriteTextFormat_Vtbl
#[repr(C)]pub struct IDWriteTextFormat_Vtbl {Show 26 fields
pub base__: IUnknown_Vtbl,
pub SetTextAlignment: unsafe extern "system" fn(_: *mut c_void, _: DWRITE_TEXT_ALIGNMENT) -> HRESULT,
pub SetParagraphAlignment: unsafe extern "system" fn(_: *mut c_void, _: DWRITE_PARAGRAPH_ALIGNMENT) -> HRESULT,
pub SetWordWrapping: unsafe extern "system" fn(_: *mut c_void, _: DWRITE_WORD_WRAPPING) -> HRESULT,
pub SetReadingDirection: unsafe extern "system" fn(_: *mut c_void, _: DWRITE_READING_DIRECTION) -> HRESULT,
pub SetFlowDirection: unsafe extern "system" fn(_: *mut c_void, _: DWRITE_FLOW_DIRECTION) -> HRESULT,
pub SetIncrementalTabStop: unsafe extern "system" fn(_: *mut c_void, _: f32) -> HRESULT,
pub SetTrimming: unsafe extern "system" fn(_: *mut c_void, _: *const DWRITE_TRIMMING, _: *mut c_void) -> HRESULT,
pub SetLineSpacing: unsafe extern "system" fn(_: *mut c_void, _: DWRITE_LINE_SPACING_METHOD, _: f32, _: f32) -> HRESULT,
pub GetTextAlignment: unsafe extern "system" fn(_: *mut c_void) -> DWRITE_TEXT_ALIGNMENT,
pub GetParagraphAlignment: unsafe extern "system" fn(_: *mut c_void) -> DWRITE_PARAGRAPH_ALIGNMENT,
pub GetWordWrapping: unsafe extern "system" fn(_: *mut c_void) -> DWRITE_WORD_WRAPPING,
pub GetReadingDirection: unsafe extern "system" fn(_: *mut c_void) -> DWRITE_READING_DIRECTION,
pub GetFlowDirection: unsafe extern "system" fn(_: *mut c_void) -> DWRITE_FLOW_DIRECTION,
pub GetIncrementalTabStop: unsafe extern "system" fn(_: *mut c_void) -> f32,
pub GetTrimming: unsafe extern "system" fn(_: *mut c_void, _: *mut DWRITE_TRIMMING, _: *mut *mut c_void) -> HRESULT,
pub GetLineSpacing: unsafe extern "system" fn(_: *mut c_void, _: *mut DWRITE_LINE_SPACING_METHOD, _: *mut f32, _: *mut f32) -> HRESULT,
pub GetFontCollection: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT,
pub GetFontFamilyNameLength: unsafe extern "system" fn(_: *mut c_void) -> u32,
pub GetFontFamilyName: unsafe extern "system" fn(_: *mut c_void, _: PWSTR, _: u32) -> HRESULT,
pub GetFontWeight: unsafe extern "system" fn(_: *mut c_void) -> DWRITE_FONT_WEIGHT,
pub GetFontStyle: unsafe extern "system" fn(_: *mut c_void) -> DWRITE_FONT_STYLE,
pub GetFontStretch: unsafe extern "system" fn(_: *mut c_void) -> DWRITE_FONT_STRETCH,
pub GetFontSize: unsafe extern "system" fn(_: *mut c_void) -> f32,
pub GetLocaleNameLength: unsafe extern "system" fn(_: *mut c_void) -> u32,
pub GetLocaleName: unsafe extern "system" fn(_: *mut c_void, _: PWSTR, _: u32) -> HRESULT,
}
Fields§
§base__: IUnknown_Vtbl
§SetTextAlignment: unsafe extern "system" fn(_: *mut c_void, _: DWRITE_TEXT_ALIGNMENT) -> HRESULT
§SetParagraphAlignment: unsafe extern "system" fn(_: *mut c_void, _: DWRITE_PARAGRAPH_ALIGNMENT) -> HRESULT
§SetWordWrapping: unsafe extern "system" fn(_: *mut c_void, _: DWRITE_WORD_WRAPPING) -> HRESULT
§SetReadingDirection: unsafe extern "system" fn(_: *mut c_void, _: DWRITE_READING_DIRECTION) -> HRESULT
§SetFlowDirection: unsafe extern "system" fn(_: *mut c_void, _: DWRITE_FLOW_DIRECTION) -> HRESULT
§SetIncrementalTabStop: unsafe extern "system" fn(_: *mut c_void, _: f32) -> HRESULT
§SetTrimming: unsafe extern "system" fn(_: *mut c_void, _: *const DWRITE_TRIMMING, _: *mut c_void) -> HRESULT
§SetLineSpacing: unsafe extern "system" fn(_: *mut c_void, _: DWRITE_LINE_SPACING_METHOD, _: f32, _: f32) -> HRESULT
§GetTextAlignment: unsafe extern "system" fn(_: *mut c_void) -> DWRITE_TEXT_ALIGNMENT
§GetParagraphAlignment: unsafe extern "system" fn(_: *mut c_void) -> DWRITE_PARAGRAPH_ALIGNMENT
§GetWordWrapping: unsafe extern "system" fn(_: *mut c_void) -> DWRITE_WORD_WRAPPING
§GetReadingDirection: unsafe extern "system" fn(_: *mut c_void) -> DWRITE_READING_DIRECTION
§GetFlowDirection: unsafe extern "system" fn(_: *mut c_void) -> DWRITE_FLOW_DIRECTION
§GetIncrementalTabStop: unsafe extern "system" fn(_: *mut c_void) -> f32
§GetTrimming: unsafe extern "system" fn(_: *mut c_void, _: *mut DWRITE_TRIMMING, _: *mut *mut c_void) -> HRESULT
§GetLineSpacing: unsafe extern "system" fn(_: *mut c_void, _: *mut DWRITE_LINE_SPACING_METHOD, _: *mut f32, _: *mut f32) -> HRESULT
§GetFontCollection: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT
§GetFontFamilyNameLength: unsafe extern "system" fn(_: *mut c_void) -> u32
§GetFontFamilyName: unsafe extern "system" fn(_: *mut c_void, _: PWSTR, _: u32) -> HRESULT
§GetFontWeight: unsafe extern "system" fn(_: *mut c_void) -> DWRITE_FONT_WEIGHT
§GetFontStyle: unsafe extern "system" fn(_: *mut c_void) -> DWRITE_FONT_STYLE
§GetFontStretch: unsafe extern "system" fn(_: *mut c_void) -> DWRITE_FONT_STRETCH
§GetFontSize: unsafe extern "system" fn(_: *mut c_void) -> f32
§GetLocaleNameLength: unsafe extern "system" fn(_: *mut c_void) -> u32
§GetLocaleName: unsafe extern "system" fn(_: *mut c_void, _: PWSTR, _: u32) -> HRESULT
Implementations§
§impl IDWriteTextFormat_Vtbl
impl IDWriteTextFormat_Vtbl
pub const fn new<Identity, const OFFSET: isize>() -> IDWriteTextFormat_Vtblwhere
Identity: IDWriteTextFormat_Impl + IUnknownImpl,
pub fn matches(iid: &GUID) -> bool
Auto Trait Implementations§
impl Freeze for IDWriteTextFormat_Vtbl
impl RefUnwindSafe for IDWriteTextFormat_Vtbl
impl Send for IDWriteTextFormat_Vtbl
impl Sync for IDWriteTextFormat_Vtbl
impl Unpin for IDWriteTextFormat_Vtbl
impl UnwindSafe for IDWriteTextFormat_Vtbl
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