#[repr(C)]
pub struct IDWriteTextAnalyzer1_Vtbl { pub base__: IDWriteTextAnalyzer_Vtbl, pub ApplyCharacterSpacing: unsafe extern "system" fn(_: *mut c_void, _: f32, _: f32, _: f32, _: u32, _: u32, _: *const u16, _: *const f32, _: *const DWRITE_GLYPH_OFFSET, _: *const DWRITE_SHAPING_GLYPH_PROPERTIES, _: *mut f32, _: *mut DWRITE_GLYPH_OFFSET) -> HRESULT, pub GetBaseline: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: DWRITE_BASELINE, _: BOOL, _: BOOL, _: DWRITE_SCRIPT_ANALYSIS, _: PCWSTR, _: *mut i32, _: *mut BOOL) -> HRESULT, pub AnalyzeVerticalGlyphOrientation: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: u32, _: u32, _: *mut c_void) -> HRESULT, pub GetGlyphOrientationTransform: unsafe extern "system" fn(_: *mut c_void, _: DWRITE_GLYPH_ORIENTATION_ANGLE, _: BOOL, _: *mut DWRITE_MATRIX) -> HRESULT, pub GetScriptProperties: unsafe extern "system" fn(_: *mut c_void, _: DWRITE_SCRIPT_ANALYSIS, _: *mut DWRITE_SCRIPT_PROPERTIES) -> HRESULT, pub GetTextComplexity: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR, _: u32, _: *mut c_void, _: *mut BOOL, _: *mut u32, _: *mut u16) -> HRESULT, pub GetJustificationOpportunities: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: f32, _: DWRITE_SCRIPT_ANALYSIS, _: u32, _: u32, _: PCWSTR, _: *const u16, _: *const DWRITE_SHAPING_GLYPH_PROPERTIES, _: *mut DWRITE_JUSTIFICATION_OPPORTUNITY) -> HRESULT, pub JustifyGlyphAdvances: unsafe extern "system" fn(_: *mut c_void, _: f32, _: u32, _: *const DWRITE_JUSTIFICATION_OPPORTUNITY, _: *const f32, _: *const DWRITE_GLYPH_OFFSET, _: *mut f32, _: *mut DWRITE_GLYPH_OFFSET) -> HRESULT, pub GetJustifiedGlyphs: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: f32, _: DWRITE_SCRIPT_ANALYSIS, _: u32, _: u32, _: u32, _: *const u16, _: *const u16, _: *const f32, _: *const f32, _: *const DWRITE_GLYPH_OFFSET, _: *const DWRITE_SHAPING_GLYPH_PROPERTIES, _: *mut u32, _: *mut u16, _: *mut u16, _: *mut f32, _: *mut DWRITE_GLYPH_OFFSET) -> HRESULT, }

Fields§

§base__: IDWriteTextAnalyzer_Vtbl§ApplyCharacterSpacing: unsafe extern "system" fn(_: *mut c_void, _: f32, _: f32, _: f32, _: u32, _: u32, _: *const u16, _: *const f32, _: *const DWRITE_GLYPH_OFFSET, _: *const DWRITE_SHAPING_GLYPH_PROPERTIES, _: *mut f32, _: *mut DWRITE_GLYPH_OFFSET) -> HRESULT§GetBaseline: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: DWRITE_BASELINE, _: BOOL, _: BOOL, _: DWRITE_SCRIPT_ANALYSIS, _: PCWSTR, _: *mut i32, _: *mut BOOL) -> HRESULT§AnalyzeVerticalGlyphOrientation: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: u32, _: u32, _: *mut c_void) -> HRESULT§GetGlyphOrientationTransform: unsafe extern "system" fn(_: *mut c_void, _: DWRITE_GLYPH_ORIENTATION_ANGLE, _: BOOL, _: *mut DWRITE_MATRIX) -> HRESULT§GetScriptProperties: unsafe extern "system" fn(_: *mut c_void, _: DWRITE_SCRIPT_ANALYSIS, _: *mut DWRITE_SCRIPT_PROPERTIES) -> HRESULT§GetTextComplexity: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR, _: u32, _: *mut c_void, _: *mut BOOL, _: *mut u32, _: *mut u16) -> HRESULT§GetJustificationOpportunities: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: f32, _: DWRITE_SCRIPT_ANALYSIS, _: u32, _: u32, _: PCWSTR, _: *const u16, _: *const DWRITE_SHAPING_GLYPH_PROPERTIES, _: *mut DWRITE_JUSTIFICATION_OPPORTUNITY) -> HRESULT§JustifyGlyphAdvances: unsafe extern "system" fn(_: *mut c_void, _: f32, _: u32, _: *const DWRITE_JUSTIFICATION_OPPORTUNITY, _: *const f32, _: *const DWRITE_GLYPH_OFFSET, _: *mut f32, _: *mut DWRITE_GLYPH_OFFSET) -> HRESULT§GetJustifiedGlyphs: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: f32, _: DWRITE_SCRIPT_ANALYSIS, _: u32, _: u32, _: u32, _: *const u16, _: *const u16, _: *const f32, _: *const f32, _: *const DWRITE_GLYPH_OFFSET, _: *const DWRITE_SHAPING_GLYPH_PROPERTIES, _: *mut u32, _: *mut u16, _: *mut u16, _: *mut f32, _: *mut DWRITE_GLYPH_OFFSET) -> HRESULT

Implementations§

§

impl IDWriteTextAnalyzer1_Vtbl

pub const fn new<Identity, const OFFSET: isize>() -> IDWriteTextAnalyzer1_Vtbl
where Identity: IDWriteTextAnalyzer1_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.