#[repr(C)]
pub struct ID2D1CommandSink_Vtbl {
Show 26 fields pub base__: IUnknown_Vtbl, pub BeginDraw: unsafe extern "system" fn(_: *mut c_void) -> HRESULT, pub EndDraw: unsafe extern "system" fn(_: *mut c_void) -> HRESULT, pub SetAntialiasMode: unsafe extern "system" fn(_: *mut c_void, _: D2D1_ANTIALIAS_MODE) -> HRESULT, pub SetTags: unsafe extern "system" fn(_: *mut c_void, _: u64, _: u64) -> HRESULT, pub SetTextAntialiasMode: unsafe extern "system" fn(_: *mut c_void, _: D2D1_TEXT_ANTIALIAS_MODE) -> HRESULT, pub SetTextRenderingParams: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT, pub SetTransform: unsafe extern "system" fn(_: *mut c_void, _: *const Matrix3x2) -> HRESULT, pub SetPrimitiveBlend: unsafe extern "system" fn(_: *mut c_void, _: D2D1_PRIMITIVE_BLEND) -> HRESULT, pub SetUnitMode: unsafe extern "system" fn(_: *mut c_void, _: D2D1_UNIT_MODE) -> HRESULT, pub Clear: unsafe extern "system" fn(_: *mut c_void, _: *const D2D1_COLOR_F) -> HRESULT, pub DrawGlyphRun: unsafe extern "system" fn(_: *mut c_void, _: D2D_POINT_2F, _: *const DWRITE_GLYPH_RUN, _: *const DWRITE_GLYPH_RUN_DESCRIPTION, _: *mut c_void, _: DWRITE_MEASURING_MODE) -> HRESULT, pub DrawLine: unsafe extern "system" fn(_: *mut c_void, _: D2D_POINT_2F, _: D2D_POINT_2F, _: *mut c_void, _: f32, _: *mut c_void) -> HRESULT, pub DrawGeometry: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut c_void, _: f32, _: *mut c_void) -> HRESULT, pub DrawRectangle: unsafe extern "system" fn(_: *mut c_void, _: *const D2D_RECT_F, _: *mut c_void, _: f32, _: *mut c_void) -> HRESULT, pub DrawBitmap: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *const D2D_RECT_F, _: f32, _: D2D1_INTERPOLATION_MODE, _: *const D2D_RECT_F, _: *const D2D_MATRIX_4X4_F) -> HRESULT, pub DrawImage: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *const D2D_POINT_2F, _: *const D2D_RECT_F, _: D2D1_INTERPOLATION_MODE, _: D2D1_COMPOSITE_MODE) -> HRESULT, pub DrawGdiMetafile: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *const D2D_POINT_2F) -> HRESULT, pub FillMesh: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut c_void) -> HRESULT, pub FillOpacityMask: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut c_void, _: *const D2D_RECT_F, _: *const D2D_RECT_F) -> HRESULT, pub FillGeometry: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut c_void, _: *mut c_void) -> HRESULT, pub FillRectangle: unsafe extern "system" fn(_: *mut c_void, _: *const D2D_RECT_F, _: *mut c_void) -> HRESULT, pub PushAxisAlignedClip: unsafe extern "system" fn(_: *mut c_void, _: *const D2D_RECT_F, _: D2D1_ANTIALIAS_MODE) -> HRESULT, pub PushLayer: unsafe extern "system" fn(_: *mut c_void, _: *const D2D1_LAYER_PARAMETERS1, _: *mut c_void) -> HRESULT, pub PopAxisAlignedClip: unsafe extern "system" fn(_: *mut c_void) -> HRESULT, pub PopLayer: unsafe extern "system" fn(_: *mut c_void) -> HRESULT,
}

Fields§

§base__: IUnknown_Vtbl§BeginDraw: unsafe extern "system" fn(_: *mut c_void) -> HRESULT§EndDraw: unsafe extern "system" fn(_: *mut c_void) -> HRESULT§SetAntialiasMode: unsafe extern "system" fn(_: *mut c_void, _: D2D1_ANTIALIAS_MODE) -> HRESULT§SetTags: unsafe extern "system" fn(_: *mut c_void, _: u64, _: u64) -> HRESULT§SetTextAntialiasMode: unsafe extern "system" fn(_: *mut c_void, _: D2D1_TEXT_ANTIALIAS_MODE) -> HRESULT§SetTextRenderingParams: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT§SetTransform: unsafe extern "system" fn(_: *mut c_void, _: *const Matrix3x2) -> HRESULT§SetPrimitiveBlend: unsafe extern "system" fn(_: *mut c_void, _: D2D1_PRIMITIVE_BLEND) -> HRESULT§SetUnitMode: unsafe extern "system" fn(_: *mut c_void, _: D2D1_UNIT_MODE) -> HRESULT§Clear: unsafe extern "system" fn(_: *mut c_void, _: *const D2D1_COLOR_F) -> HRESULT§DrawGlyphRun: unsafe extern "system" fn(_: *mut c_void, _: D2D_POINT_2F, _: *const DWRITE_GLYPH_RUN, _: *const DWRITE_GLYPH_RUN_DESCRIPTION, _: *mut c_void, _: DWRITE_MEASURING_MODE) -> HRESULT§DrawLine: unsafe extern "system" fn(_: *mut c_void, _: D2D_POINT_2F, _: D2D_POINT_2F, _: *mut c_void, _: f32, _: *mut c_void) -> HRESULT§DrawGeometry: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut c_void, _: f32, _: *mut c_void) -> HRESULT§DrawRectangle: unsafe extern "system" fn(_: *mut c_void, _: *const D2D_RECT_F, _: *mut c_void, _: f32, _: *mut c_void) -> HRESULT§DrawBitmap: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *const D2D_RECT_F, _: f32, _: D2D1_INTERPOLATION_MODE, _: *const D2D_RECT_F, _: *const D2D_MATRIX_4X4_F) -> HRESULT§DrawImage: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *const D2D_POINT_2F, _: *const D2D_RECT_F, _: D2D1_INTERPOLATION_MODE, _: D2D1_COMPOSITE_MODE) -> HRESULT§DrawGdiMetafile: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *const D2D_POINT_2F) -> HRESULT§FillMesh: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut c_void) -> HRESULT§FillOpacityMask: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut c_void, _: *const D2D_RECT_F, _: *const D2D_RECT_F) -> HRESULT§FillGeometry: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut c_void, _: *mut c_void) -> HRESULT§FillRectangle: unsafe extern "system" fn(_: *mut c_void, _: *const D2D_RECT_F, _: *mut c_void) -> HRESULT§PushAxisAlignedClip: unsafe extern "system" fn(_: *mut c_void, _: *const D2D_RECT_F, _: D2D1_ANTIALIAS_MODE) -> HRESULT§PushLayer: unsafe extern "system" fn(_: *mut c_void, _: *const D2D1_LAYER_PARAMETERS1, _: *mut c_void) -> HRESULT§PopAxisAlignedClip: unsafe extern "system" fn(_: *mut c_void) -> HRESULT§PopLayer: unsafe extern "system" fn(_: *mut c_void) -> HRESULT

Implementations§

§

impl ID2D1CommandSink_Vtbl

pub const fn new<Identity: IUnknownImpl<Impl = Impl>, Impl: ID2D1CommandSink_Impl, const OFFSET: isize>( ) -> ID2D1CommandSink_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.