Struct windows::Win32::Graphics::Direct2D::ID2D1SpriteBatch_Vtbl
#[repr(C)]pub struct ID2D1SpriteBatch_Vtbl {
pub base__: ID2D1Resource_Vtbl,
pub AddSprites: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *const D2D_RECT_F, _: *const D2D_RECT_U, _: *const D2D1_COLOR_F, _: *const Matrix3x2, _: u32, _: u32, _: u32, _: u32) -> HRESULT,
pub SetSprites: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32, _: *const D2D_RECT_F, _: *const D2D_RECT_U, _: *const D2D1_COLOR_F, _: *const Matrix3x2, _: u32, _: u32, _: u32, _: u32) -> HRESULT,
pub GetSprites: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32, _: *mut D2D_RECT_F, _: *mut D2D_RECT_U, _: *mut D2D1_COLOR_F, _: *mut Matrix3x2) -> HRESULT,
pub GetSpriteCount: unsafe extern "system" fn(_: *mut c_void) -> u32,
pub Clear: unsafe extern "system" fn(_: *mut c_void),
}
Fields§
§base__: ID2D1Resource_Vtbl
§AddSprites: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *const D2D_RECT_F, _: *const D2D_RECT_U, _: *const D2D1_COLOR_F, _: *const Matrix3x2, _: u32, _: u32, _: u32, _: u32) -> HRESULT
§SetSprites: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32, _: *const D2D_RECT_F, _: *const D2D_RECT_U, _: *const D2D1_COLOR_F, _: *const Matrix3x2, _: u32, _: u32, _: u32, _: u32) -> HRESULT
§GetSprites: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32, _: *mut D2D_RECT_F, _: *mut D2D_RECT_U, _: *mut D2D1_COLOR_F, _: *mut Matrix3x2) -> HRESULT
§GetSpriteCount: unsafe extern "system" fn(_: *mut c_void) -> u32
§Clear: unsafe extern "system" fn(_: *mut c_void)
Implementations§
§impl ID2D1SpriteBatch_Vtbl
impl ID2D1SpriteBatch_Vtbl
pub const fn new<Identity, const OFFSET: isize>() -> ID2D1SpriteBatch_Vtblwhere
Identity: ID2D1SpriteBatch_Impl + IUnknownImpl,
pub fn matches(iid: &GUID) -> bool
Auto Trait Implementations§
impl Freeze for ID2D1SpriteBatch_Vtbl
impl RefUnwindSafe for ID2D1SpriteBatch_Vtbl
impl Send for ID2D1SpriteBatch_Vtbl
impl Sync for ID2D1SpriteBatch_Vtbl
impl Unpin for ID2D1SpriteBatch_Vtbl
impl UnwindSafe for ID2D1SpriteBatch_Vtbl
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more