[][src]Struct winapi::um::dwrite::IDWriteTextLayoutVtbl

#[repr(C)]
pub struct IDWriteTextLayoutVtbl {
    pub parent: IDWriteTextFormatVtbl,
    pub SetMaxWidth: unsafe extern "system" fn(This: *mut IDWriteTextLayout, maxWidth: FLOAT) -> HRESULT,
    pub SetMaxHeight: unsafe extern "system" fn(This: *mut IDWriteTextLayout, maxHeight: FLOAT) -> HRESULT,
    pub SetFontCollection: unsafe extern "system" fn(This: *mut IDWriteTextLayout, fontCollection: *mut IDWriteFontCollection, textRange: DWRITE_TEXT_RANGE) -> HRESULT,
    pub SetFontFamilyName: unsafe extern "system" fn(This: *mut IDWriteTextLayout, fontFamilyName: *const WCHAR, textRange: DWRITE_TEXT_RANGE) -> HRESULT,
    pub SetFontWeight: unsafe extern "system" fn(This: *mut IDWriteTextLayout, fontWeight: DWRITE_FONT_WEIGHT, textRange: DWRITE_TEXT_RANGE) -> HRESULT,
    pub SetFontStyle: unsafe extern "system" fn(This: *mut IDWriteTextLayout, fontStyle: DWRITE_FONT_STYLE, textRange: DWRITE_TEXT_RANGE) -> HRESULT,
    pub SetFontStretch: unsafe extern "system" fn(This: *mut IDWriteTextLayout, fontStretch: DWRITE_FONT_STRETCH, textRange: DWRITE_TEXT_RANGE) -> HRESULT,
    pub SetFontSize: unsafe extern "system" fn(This: *mut IDWriteTextLayout, fontSize: FLOAT, textRange: DWRITE_TEXT_RANGE) -> HRESULT,
    pub SetUnderline: unsafe extern "system" fn(This: *mut IDWriteTextLayout, hasUnderline: BOOL, textRange: DWRITE_TEXT_RANGE) -> HRESULT,
    pub SetStrikethrough: unsafe extern "system" fn(This: *mut IDWriteTextLayout, hasStrikethrough: BOOL, textRange: DWRITE_TEXT_RANGE) -> HRESULT,
    pub SetDrawingEffect: unsafe extern "system" fn(This: *mut IDWriteTextLayout, drawingEffect: *mut IUnknown, textRange: DWRITE_TEXT_RANGE) -> HRESULT,
    pub SetInlineObject: unsafe extern "system" fn(This: *mut IDWriteTextLayout, inlineObject: *mut IDWriteInlineObject, textRange: DWRITE_TEXT_RANGE) -> HRESULT,
    pub SetTypography: unsafe extern "system" fn(This: *mut IDWriteTextLayout, typography: *mut IDWriteTypography, textRange: DWRITE_TEXT_RANGE) -> HRESULT,
    pub SetLocaleName: unsafe extern "system" fn(This: *mut IDWriteTextLayout, localeName: *const WCHAR, textRange: DWRITE_TEXT_RANGE) -> HRESULT,
    pub GetMaxWidth: unsafe extern "system" fn(This: *mut IDWriteTextLayout) -> FLOAT,
    pub GetMaxHeight: unsafe extern "system" fn(This: *mut IDWriteTextLayout) -> FLOAT,
    pub GetFontCollection: unsafe extern "system" fn(This: *mut IDWriteTextLayout, currentPosition: UINT32, fontCollection: *mut *mut IDWriteFontCollection, textRange: *mut DWRITE_TEXT_RANGE) -> HRESULT,
    pub GetFontFamilyNameLength: unsafe extern "system" fn(This: *mut IDWriteTextLayout, currentPosition: UINT32, nameLength: *mut UINT32, textRange: *mut DWRITE_TEXT_RANGE) -> HRESULT,
    pub GetFontFamilyName: unsafe extern "system" fn(This: *mut IDWriteTextLayout, currentPosition: UINT32, fontFamilyName: *mut WCHAR, nameSize: UINT32, textRange: *mut DWRITE_TEXT_RANGE) -> HRESULT,
    pub GetFontWeight: unsafe extern "system" fn(This: *mut IDWriteTextLayout, currentPosition: UINT32, fontWeight: *mut DWRITE_FONT_WEIGHT, textRange: *mut DWRITE_TEXT_RANGE) -> HRESULT,
    pub GetFontStyle: unsafe extern "system" fn(This: *mut IDWriteTextLayout, currentPosition: UINT32, fontStyle: *mut DWRITE_FONT_STYLE, textRange: *mut DWRITE_TEXT_RANGE) -> HRESULT,
    pub GetFontStretch: unsafe extern "system" fn(This: *mut IDWriteTextLayout, currentPosition: UINT32, fontStretch: *mut DWRITE_FONT_STRETCH, textRange: *mut DWRITE_TEXT_RANGE) -> HRESULT,
    pub GetFontSize: unsafe extern "system" fn(This: *mut IDWriteTextLayout, currentPosition: UINT32, fontSize: *mut FLOAT, textRange: *mut DWRITE_TEXT_RANGE) -> HRESULT,
    pub GetUnderline: unsafe extern "system" fn(This: *mut IDWriteTextLayout, currentPosition: UINT32, hasUnderline: *mut BOOL, textRange: *mut DWRITE_TEXT_RANGE) -> HRESULT,
    pub GetStrikethrough: unsafe extern "system" fn(This: *mut IDWriteTextLayout, currentPosition: UINT32, hasStrikethrough: *mut BOOL, textRange: *mut DWRITE_TEXT_RANGE) -> HRESULT,
    pub GetDrawingEffect: unsafe extern "system" fn(This: *mut IDWriteTextLayout, currentPosition: UINT32, drawingEffect: *mut *mut IUnknown, textRange: *mut DWRITE_TEXT_RANGE) -> HRESULT,
    pub GetInlineObject: unsafe extern "system" fn(This: *mut IDWriteTextLayout, currentPosition: UINT32, inlineObject: *mut *mut IDWriteInlineObject, textRange: *mut DWRITE_TEXT_RANGE) -> HRESULT,
    pub GetTypography: unsafe extern "system" fn(This: *mut IDWriteTextLayout, currentPosition: UINT32, typography: *mut *mut IDWriteTypography, textRange: *mut DWRITE_TEXT_RANGE) -> HRESULT,
    pub GetLocaleNameLength: unsafe extern "system" fn(This: *mut IDWriteTextLayout, currentPosition: UINT32, nameLength: *mut UINT32, textRange: *mut DWRITE_TEXT_RANGE) -> HRESULT,
    pub GetLocaleName: unsafe extern "system" fn(This: *mut IDWriteTextLayout, currentPosition: UINT32, localeName: *mut WCHAR, nameSize: UINT32, textRange: *mut DWRITE_TEXT_RANGE) -> HRESULT,
    pub Draw: unsafe extern "system" fn(This: *mut IDWriteTextLayout, clientDrawingContext: *mut c_void, renderer: *mut IDWriteTextRenderer, originX: FLOAT, originY: FLOAT) -> HRESULT,
    pub GetLineMetrics: unsafe extern "system" fn(This: *mut IDWriteTextLayout, lineMetrics: *mut DWRITE_LINE_METRICS, maxLineCount: UINT32, actualLineCount: *mut UINT32) -> HRESULT,
    pub GetMetrics: unsafe extern "system" fn(This: *mut IDWriteTextLayout, textMetrics: *mut DWRITE_TEXT_METRICS) -> HRESULT,
    pub GetOverhangMetrics: unsafe extern "system" fn(This: *mut IDWriteTextLayout, overhangs: *mut DWRITE_OVERHANG_METRICS) -> HRESULT,
    pub GetClusterMetrics: unsafe extern "system" fn(This: *mut IDWriteTextLayout, clusterMetrics: *mut DWRITE_CLUSTER_METRICS, maxClusterCount: UINT32, actualClusterCount: *mut UINT32) -> HRESULT,
    pub DetermineMinWidth: unsafe extern "system" fn(This: *mut IDWriteTextLayout, minWidth: *mut FLOAT) -> HRESULT,
    pub HitTestPoint: unsafe extern "system" fn(This: *mut IDWriteTextLayout, pointX: FLOAT, pointY: FLOAT, isTrailingHit: *mut BOOL, isInside: *mut BOOL, hitTestMetrics: *mut DWRITE_HIT_TEST_METRICS) -> HRESULT,
    pub HitTestTextPosition: unsafe extern "system" fn(This: *mut IDWriteTextLayout, textPosition: UINT32, isTrailingHit: BOOL, pointX: *mut FLOAT, pointY: *mut FLOAT, hitTestMetrics: *mut DWRITE_HIT_TEST_METRICS) -> HRESULT,
    pub HitTestTextRange: unsafe extern "system" fn(This: *mut IDWriteTextLayout, textPosition: UINT32, textLength: UINT32, originX: FLOAT, originY: FLOAT, hitTestMetrics: *mut DWRITE_HIT_TEST_METRICS, maxHitTestMetricsCount: UINT32, actualHitTestMetricsCount: *mut UINT32) -> HRESULT,
}

Fields

parent: IDWriteTextFormatVtblSetMaxWidth: unsafe extern "system" fn(This: *mut IDWriteTextLayout, maxWidth: FLOAT) -> HRESULTSetMaxHeight: unsafe extern "system" fn(This: *mut IDWriteTextLayout, maxHeight: FLOAT) -> HRESULTSetFontCollection: unsafe extern "system" fn(This: *mut IDWriteTextLayout, fontCollection: *mut IDWriteFontCollection, textRange: DWRITE_TEXT_RANGE) -> HRESULTSetFontFamilyName: unsafe extern "system" fn(This: *mut IDWriteTextLayout, fontFamilyName: *const WCHAR, textRange: DWRITE_TEXT_RANGE) -> HRESULTSetFontWeight: unsafe extern "system" fn(This: *mut IDWriteTextLayout, fontWeight: DWRITE_FONT_WEIGHT, textRange: DWRITE_TEXT_RANGE) -> HRESULTSetFontStyle: unsafe extern "system" fn(This: *mut IDWriteTextLayout, fontStyle: DWRITE_FONT_STYLE, textRange: DWRITE_TEXT_RANGE) -> HRESULTSetFontStretch: unsafe extern "system" fn(This: *mut IDWriteTextLayout, fontStretch: DWRITE_FONT_STRETCH, textRange: DWRITE_TEXT_RANGE) -> HRESULTSetFontSize: unsafe extern "system" fn(This: *mut IDWriteTextLayout, fontSize: FLOAT, textRange: DWRITE_TEXT_RANGE) -> HRESULTSetUnderline: unsafe extern "system" fn(This: *mut IDWriteTextLayout, hasUnderline: BOOL, textRange: DWRITE_TEXT_RANGE) -> HRESULTSetStrikethrough: unsafe extern "system" fn(This: *mut IDWriteTextLayout, hasStrikethrough: BOOL, textRange: DWRITE_TEXT_RANGE) -> HRESULTSetDrawingEffect: unsafe extern "system" fn(This: *mut IDWriteTextLayout, drawingEffect: *mut IUnknown, textRange: DWRITE_TEXT_RANGE) -> HRESULTSetInlineObject: unsafe extern "system" fn(This: *mut IDWriteTextLayout, inlineObject: *mut IDWriteInlineObject, textRange: DWRITE_TEXT_RANGE) -> HRESULTSetTypography: unsafe extern "system" fn(This: *mut IDWriteTextLayout, typography: *mut IDWriteTypography, textRange: DWRITE_TEXT_RANGE) -> HRESULTSetLocaleName: unsafe extern "system" fn(This: *mut IDWriteTextLayout, localeName: *const WCHAR, textRange: DWRITE_TEXT_RANGE) -> HRESULTGetMaxWidth: unsafe extern "system" fn(This: *mut IDWriteTextLayout) -> FLOATGetMaxHeight: unsafe extern "system" fn(This: *mut IDWriteTextLayout) -> FLOATGetFontCollection: unsafe extern "system" fn(This: *mut IDWriteTextLayout, currentPosition: UINT32, fontCollection: *mut *mut IDWriteFontCollection, textRange: *mut DWRITE_TEXT_RANGE) -> HRESULTGetFontFamilyNameLength: unsafe extern "system" fn(This: *mut IDWriteTextLayout, currentPosition: UINT32, nameLength: *mut UINT32, textRange: *mut DWRITE_TEXT_RANGE) -> HRESULTGetFontFamilyName: unsafe extern "system" fn(This: *mut IDWriteTextLayout, currentPosition: UINT32, fontFamilyName: *mut WCHAR, nameSize: UINT32, textRange: *mut DWRITE_TEXT_RANGE) -> HRESULTGetFontWeight: unsafe extern "system" fn(This: *mut IDWriteTextLayout, currentPosition: UINT32, fontWeight: *mut DWRITE_FONT_WEIGHT, textRange: *mut DWRITE_TEXT_RANGE) -> HRESULTGetFontStyle: unsafe extern "system" fn(This: *mut IDWriteTextLayout, currentPosition: UINT32, fontStyle: *mut DWRITE_FONT_STYLE, textRange: *mut DWRITE_TEXT_RANGE) -> HRESULTGetFontStretch: unsafe extern "system" fn(This: *mut IDWriteTextLayout, currentPosition: UINT32, fontStretch: *mut DWRITE_FONT_STRETCH, textRange: *mut DWRITE_TEXT_RANGE) -> HRESULTGetFontSize: unsafe extern "system" fn(This: *mut IDWriteTextLayout, currentPosition: UINT32, fontSize: *mut FLOAT, textRange: *mut DWRITE_TEXT_RANGE) -> HRESULTGetUnderline: unsafe extern "system" fn(This: *mut IDWriteTextLayout, currentPosition: UINT32, hasUnderline: *mut BOOL, textRange: *mut DWRITE_TEXT_RANGE) -> HRESULTGetStrikethrough: unsafe extern "system" fn(This: *mut IDWriteTextLayout, currentPosition: UINT32, hasStrikethrough: *mut BOOL, textRange: *mut DWRITE_TEXT_RANGE) -> HRESULTGetDrawingEffect: unsafe extern "system" fn(This: *mut IDWriteTextLayout, currentPosition: UINT32, drawingEffect: *mut *mut IUnknown, textRange: *mut DWRITE_TEXT_RANGE) -> HRESULTGetInlineObject: unsafe extern "system" fn(This: *mut IDWriteTextLayout, currentPosition: UINT32, inlineObject: *mut *mut IDWriteInlineObject, textRange: *mut DWRITE_TEXT_RANGE) -> HRESULTGetTypography: unsafe extern "system" fn(This: *mut IDWriteTextLayout, currentPosition: UINT32, typography: *mut *mut IDWriteTypography, textRange: *mut DWRITE_TEXT_RANGE) -> HRESULTGetLocaleNameLength: unsafe extern "system" fn(This: *mut IDWriteTextLayout, currentPosition: UINT32, nameLength: *mut UINT32, textRange: *mut DWRITE_TEXT_RANGE) -> HRESULTGetLocaleName: unsafe extern "system" fn(This: *mut IDWriteTextLayout, currentPosition: UINT32, localeName: *mut WCHAR, nameSize: UINT32, textRange: *mut DWRITE_TEXT_RANGE) -> HRESULTDraw: unsafe extern "system" fn(This: *mut IDWriteTextLayout, clientDrawingContext: *mut c_void, renderer: *mut IDWriteTextRenderer, originX: FLOAT, originY: FLOAT) -> HRESULTGetLineMetrics: unsafe extern "system" fn(This: *mut IDWriteTextLayout, lineMetrics: *mut DWRITE_LINE_METRICS, maxLineCount: UINT32, actualLineCount: *mut UINT32) -> HRESULTGetMetrics: unsafe extern "system" fn(This: *mut IDWriteTextLayout, textMetrics: *mut DWRITE_TEXT_METRICS) -> HRESULTGetOverhangMetrics: unsafe extern "system" fn(This: *mut IDWriteTextLayout, overhangs: *mut DWRITE_OVERHANG_METRICS) -> HRESULTGetClusterMetrics: unsafe extern "system" fn(This: *mut IDWriteTextLayout, clusterMetrics: *mut DWRITE_CLUSTER_METRICS, maxClusterCount: UINT32, actualClusterCount: *mut UINT32) -> HRESULTDetermineMinWidth: unsafe extern "system" fn(This: *mut IDWriteTextLayout, minWidth: *mut FLOAT) -> HRESULTHitTestPoint: unsafe extern "system" fn(This: *mut IDWriteTextLayout, pointX: FLOAT, pointY: FLOAT, isTrailingHit: *mut BOOL, isInside: *mut BOOL, hitTestMetrics: *mut DWRITE_HIT_TEST_METRICS) -> HRESULTHitTestTextPosition: unsafe extern "system" fn(This: *mut IDWriteTextLayout, textPosition: UINT32, isTrailingHit: BOOL, pointX: *mut FLOAT, pointY: *mut FLOAT, hitTestMetrics: *mut DWRITE_HIT_TEST_METRICS) -> HRESULTHitTestTextRange: unsafe extern "system" fn(This: *mut IDWriteTextLayout, textPosition: UINT32, textLength: UINT32, originX: FLOAT, originY: FLOAT, hitTestMetrics: *mut DWRITE_HIT_TEST_METRICS, maxHitTestMetricsCount: UINT32, actualHitTestMetricsCount: *mut UINT32) -> HRESULT

Auto Trait Implementations

Blanket Implementations

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]