#[repr(C)]
pub struct IDWriteTextLayout_Vtbl {
Show 40 fields pub base__: IDWriteTextFormat_Vtbl, pub SetMaxWidth: unsafe extern "system" fn(_: *mut c_void, _: f32) -> HRESULT, pub SetMaxHeight: unsafe extern "system" fn(_: *mut c_void, _: f32) -> HRESULT, pub SetFontCollection: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: DWRITE_TEXT_RANGE) -> HRESULT, pub SetFontFamilyName: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR, _: DWRITE_TEXT_RANGE) -> HRESULT, pub SetFontWeight: unsafe extern "system" fn(_: *mut c_void, _: DWRITE_FONT_WEIGHT, _: DWRITE_TEXT_RANGE) -> HRESULT, pub SetFontStyle: unsafe extern "system" fn(_: *mut c_void, _: DWRITE_FONT_STYLE, _: DWRITE_TEXT_RANGE) -> HRESULT, pub SetFontStretch: unsafe extern "system" fn(_: *mut c_void, _: DWRITE_FONT_STRETCH, _: DWRITE_TEXT_RANGE) -> HRESULT, pub SetFontSize: unsafe extern "system" fn(_: *mut c_void, _: f32, _: DWRITE_TEXT_RANGE) -> HRESULT, pub SetUnderline: unsafe extern "system" fn(_: *mut c_void, _: BOOL, _: DWRITE_TEXT_RANGE) -> HRESULT, pub SetStrikethrough: unsafe extern "system" fn(_: *mut c_void, _: BOOL, _: DWRITE_TEXT_RANGE) -> HRESULT, pub SetDrawingEffect: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: DWRITE_TEXT_RANGE) -> HRESULT, pub SetInlineObject: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: DWRITE_TEXT_RANGE) -> HRESULT, pub SetTypography: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: DWRITE_TEXT_RANGE) -> HRESULT, pub SetLocaleName: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR, _: DWRITE_TEXT_RANGE) -> HRESULT, pub GetMaxWidth: unsafe extern "system" fn(_: *mut c_void) -> f32, pub GetMaxHeight: unsafe extern "system" fn(_: *mut c_void) -> f32, pub GetFontCollection: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut *mut c_void, _: *mut DWRITE_TEXT_RANGE) -> HRESULT, pub GetFontFamilyNameLength: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut u32, _: *mut DWRITE_TEXT_RANGE) -> HRESULT, pub GetFontFamilyName: unsafe extern "system" fn(_: *mut c_void, _: u32, _: PWSTR, _: u32, _: *mut DWRITE_TEXT_RANGE) -> HRESULT, pub GetFontWeight: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut DWRITE_FONT_WEIGHT, _: *mut DWRITE_TEXT_RANGE) -> HRESULT, pub GetFontStyle: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut DWRITE_FONT_STYLE, _: *mut DWRITE_TEXT_RANGE) -> HRESULT, pub GetFontStretch: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut DWRITE_FONT_STRETCH, _: *mut DWRITE_TEXT_RANGE) -> HRESULT, pub GetFontSize: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut f32, _: *mut DWRITE_TEXT_RANGE) -> HRESULT, pub GetUnderline: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut BOOL, _: *mut DWRITE_TEXT_RANGE) -> HRESULT, pub GetStrikethrough: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut BOOL, _: *mut DWRITE_TEXT_RANGE) -> HRESULT, pub GetDrawingEffect: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut *mut c_void, _: *mut DWRITE_TEXT_RANGE) -> HRESULT, pub GetInlineObject: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut *mut c_void, _: *mut DWRITE_TEXT_RANGE) -> HRESULT, pub GetTypography: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut *mut c_void, _: *mut DWRITE_TEXT_RANGE) -> HRESULT, pub GetLocaleNameLength: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut u32, _: *mut DWRITE_TEXT_RANGE) -> HRESULT, pub GetLocaleName: unsafe extern "system" fn(_: *mut c_void, _: u32, _: PWSTR, _: u32, _: *mut DWRITE_TEXT_RANGE) -> HRESULT, pub Draw: unsafe extern "system" fn(_: *mut c_void, _: *const c_void, _: *mut c_void, _: f32, _: f32) -> HRESULT, pub GetLineMetrics: unsafe extern "system" fn(_: *mut c_void, _: *mut DWRITE_LINE_METRICS, _: u32, _: *mut u32) -> HRESULT, pub GetMetrics: unsafe extern "system" fn(_: *mut c_void, _: *mut DWRITE_TEXT_METRICS) -> HRESULT, pub GetOverhangMetrics: unsafe extern "system" fn(_: *mut c_void, _: *mut DWRITE_OVERHANG_METRICS) -> HRESULT, pub GetClusterMetrics: unsafe extern "system" fn(_: *mut c_void, _: *mut DWRITE_CLUSTER_METRICS, _: u32, _: *mut u32) -> HRESULT, pub DetermineMinWidth: unsafe extern "system" fn(_: *mut c_void, _: *mut f32) -> HRESULT, pub HitTestPoint: unsafe extern "system" fn(_: *mut c_void, _: f32, _: f32, _: *mut BOOL, _: *mut BOOL, _: *mut DWRITE_HIT_TEST_METRICS) -> HRESULT, pub HitTestTextPosition: unsafe extern "system" fn(_: *mut c_void, _: u32, _: BOOL, _: *mut f32, _: *mut f32, _: *mut DWRITE_HIT_TEST_METRICS) -> HRESULT, pub HitTestTextRange: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32, _: f32, _: f32, _: *mut DWRITE_HIT_TEST_METRICS, _: u32, _: *mut u32) -> HRESULT,
}

Fields§

§base__: IDWriteTextFormat_Vtbl§SetMaxWidth: unsafe extern "system" fn(_: *mut c_void, _: f32) -> HRESULT§SetMaxHeight: unsafe extern "system" fn(_: *mut c_void, _: f32) -> HRESULT§SetFontCollection: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: DWRITE_TEXT_RANGE) -> HRESULT§SetFontFamilyName: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR, _: DWRITE_TEXT_RANGE) -> HRESULT§SetFontWeight: unsafe extern "system" fn(_: *mut c_void, _: DWRITE_FONT_WEIGHT, _: DWRITE_TEXT_RANGE) -> HRESULT§SetFontStyle: unsafe extern "system" fn(_: *mut c_void, _: DWRITE_FONT_STYLE, _: DWRITE_TEXT_RANGE) -> HRESULT§SetFontStretch: unsafe extern "system" fn(_: *mut c_void, _: DWRITE_FONT_STRETCH, _: DWRITE_TEXT_RANGE) -> HRESULT§SetFontSize: unsafe extern "system" fn(_: *mut c_void, _: f32, _: DWRITE_TEXT_RANGE) -> HRESULT§SetUnderline: unsafe extern "system" fn(_: *mut c_void, _: BOOL, _: DWRITE_TEXT_RANGE) -> HRESULT§SetStrikethrough: unsafe extern "system" fn(_: *mut c_void, _: BOOL, _: DWRITE_TEXT_RANGE) -> HRESULT§SetDrawingEffect: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: DWRITE_TEXT_RANGE) -> HRESULT§SetInlineObject: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: DWRITE_TEXT_RANGE) -> HRESULT§SetTypography: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: DWRITE_TEXT_RANGE) -> HRESULT§SetLocaleName: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR, _: DWRITE_TEXT_RANGE) -> HRESULT§GetMaxWidth: unsafe extern "system" fn(_: *mut c_void) -> f32§GetMaxHeight: unsafe extern "system" fn(_: *mut c_void) -> f32§GetFontCollection: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut *mut c_void, _: *mut DWRITE_TEXT_RANGE) -> HRESULT§GetFontFamilyNameLength: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut u32, _: *mut DWRITE_TEXT_RANGE) -> HRESULT§GetFontFamilyName: unsafe extern "system" fn(_: *mut c_void, _: u32, _: PWSTR, _: u32, _: *mut DWRITE_TEXT_RANGE) -> HRESULT§GetFontWeight: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut DWRITE_FONT_WEIGHT, _: *mut DWRITE_TEXT_RANGE) -> HRESULT§GetFontStyle: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut DWRITE_FONT_STYLE, _: *mut DWRITE_TEXT_RANGE) -> HRESULT§GetFontStretch: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut DWRITE_FONT_STRETCH, _: *mut DWRITE_TEXT_RANGE) -> HRESULT§GetFontSize: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut f32, _: *mut DWRITE_TEXT_RANGE) -> HRESULT§GetUnderline: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut BOOL, _: *mut DWRITE_TEXT_RANGE) -> HRESULT§GetStrikethrough: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut BOOL, _: *mut DWRITE_TEXT_RANGE) -> HRESULT§GetDrawingEffect: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut *mut c_void, _: *mut DWRITE_TEXT_RANGE) -> HRESULT§GetInlineObject: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut *mut c_void, _: *mut DWRITE_TEXT_RANGE) -> HRESULT§GetTypography: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut *mut c_void, _: *mut DWRITE_TEXT_RANGE) -> HRESULT§GetLocaleNameLength: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut u32, _: *mut DWRITE_TEXT_RANGE) -> HRESULT§GetLocaleName: unsafe extern "system" fn(_: *mut c_void, _: u32, _: PWSTR, _: u32, _: *mut DWRITE_TEXT_RANGE) -> HRESULT§Draw: unsafe extern "system" fn(_: *mut c_void, _: *const c_void, _: *mut c_void, _: f32, _: f32) -> HRESULT§GetLineMetrics: unsafe extern "system" fn(_: *mut c_void, _: *mut DWRITE_LINE_METRICS, _: u32, _: *mut u32) -> HRESULT§GetMetrics: unsafe extern "system" fn(_: *mut c_void, _: *mut DWRITE_TEXT_METRICS) -> HRESULT§GetOverhangMetrics: unsafe extern "system" fn(_: *mut c_void, _: *mut DWRITE_OVERHANG_METRICS) -> HRESULT§GetClusterMetrics: unsafe extern "system" fn(_: *mut c_void, _: *mut DWRITE_CLUSTER_METRICS, _: u32, _: *mut u32) -> HRESULT§DetermineMinWidth: unsafe extern "system" fn(_: *mut c_void, _: *mut f32) -> HRESULT§HitTestPoint: unsafe extern "system" fn(_: *mut c_void, _: f32, _: f32, _: *mut BOOL, _: *mut BOOL, _: *mut DWRITE_HIT_TEST_METRICS) -> HRESULT§HitTestTextPosition: unsafe extern "system" fn(_: *mut c_void, _: u32, _: BOOL, _: *mut f32, _: *mut f32, _: *mut DWRITE_HIT_TEST_METRICS) -> HRESULT§HitTestTextRange: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32, _: f32, _: f32, _: *mut DWRITE_HIT_TEST_METRICS, _: u32, _: *mut u32) -> HRESULT

Implementations§

§

impl IDWriteTextLayout_Vtbl

pub const fn new<Identity, const OFFSET: isize>() -> IDWriteTextLayout_Vtbl
where Identity: IDWriteTextLayout_Impl + IUnknownImpl,

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.