#[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

pub const fn new<Identity: IUnknownImpl<Impl = Impl>, Impl: IDWriteTextFormat_Impl, const OFFSET: isize>( ) -> IDWriteTextFormat_Vtbl

pub fn matches(iid: &GUID) -> bool

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>,

§

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>,

§

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.