windows::Wdk::Graphics::Direct3D

Struct D3DHAL_CALLBACKS

#[repr(C)]
pub struct D3DHAL_CALLBACKS {
Show 35 fields pub dwSize: u32, pub ContextCreate: LPD3DHAL_CONTEXTCREATECB, pub ContextDestroy: LPD3DHAL_CONTEXTDESTROYCB, pub ContextDestroyAll: LPD3DHAL_CONTEXTDESTROYALLCB, pub SceneCapture: LPD3DHAL_SCENECAPTURECB, pub lpReserved10: *mut c_void, pub lpReserved11: *mut c_void, pub RenderState: LPD3DHAL_RENDERSTATECB, pub RenderPrimitive: LPD3DHAL_RENDERPRIMITIVECB, pub dwReserved: u32, pub TextureCreate: LPD3DHAL_TEXTURECREATECB, pub TextureDestroy: LPD3DHAL_TEXTUREDESTROYCB, pub TextureSwap: LPD3DHAL_TEXTURESWAPCB, pub TextureGetSurf: LPD3DHAL_TEXTUREGETSURFCB, pub lpReserved12: *mut c_void, pub lpReserved13: *mut c_void, pub lpReserved14: *mut c_void, pub lpReserved15: *mut c_void, pub lpReserved16: *mut c_void, pub lpReserved17: *mut c_void, pub lpReserved18: *mut c_void, pub lpReserved19: *mut c_void, pub lpReserved20: *mut c_void, pub lpReserved21: *mut c_void, pub GetState: LPD3DHAL_GETSTATECB, pub dwReserved0: u32, pub dwReserved1: u32, pub dwReserved2: u32, pub dwReserved3: u32, pub dwReserved4: u32, pub dwReserved5: u32, pub dwReserved6: u32, pub dwReserved7: u32, pub dwReserved8: u32, pub dwReserved9: u32,
}

Fields§

§dwSize: u32§ContextCreate: LPD3DHAL_CONTEXTCREATECB§ContextDestroy: LPD3DHAL_CONTEXTDESTROYCB§ContextDestroyAll: LPD3DHAL_CONTEXTDESTROYALLCB§SceneCapture: LPD3DHAL_SCENECAPTURECB§lpReserved10: *mut c_void§lpReserved11: *mut c_void§RenderState: LPD3DHAL_RENDERSTATECB§RenderPrimitive: LPD3DHAL_RENDERPRIMITIVECB§dwReserved: u32§TextureCreate: LPD3DHAL_TEXTURECREATECB§TextureDestroy: LPD3DHAL_TEXTUREDESTROYCB§TextureSwap: LPD3DHAL_TEXTURESWAPCB§TextureGetSurf: LPD3DHAL_TEXTUREGETSURFCB§lpReserved12: *mut c_void§lpReserved13: *mut c_void§lpReserved14: *mut c_void§lpReserved15: *mut c_void§lpReserved16: *mut c_void§lpReserved17: *mut c_void§lpReserved18: *mut c_void§lpReserved19: *mut c_void§lpReserved20: *mut c_void§lpReserved21: *mut c_void§GetState: LPD3DHAL_GETSTATECB§dwReserved0: u32§dwReserved1: u32§dwReserved2: u32§dwReserved3: u32§dwReserved4: u32§dwReserved5: u32§dwReserved6: u32§dwReserved7: u32§dwReserved8: u32§dwReserved9: u32

Trait Implementations§

§

impl Clone for D3DHAL_CALLBACKS

§

fn clone(&self) -> D3DHAL_CALLBACKS

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for D3DHAL_CALLBACKS

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
§

impl Default for D3DHAL_CALLBACKS

§

fn default() -> Self

Returns the “default value” for a type. Read more
§

impl PartialEq for D3DHAL_CALLBACKS

§

fn eq(&self, other: &D3DHAL_CALLBACKS) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
§

impl Copy for D3DHAL_CALLBACKS

§

impl StructuralPartialEq for D3DHAL_CALLBACKS

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> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. 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> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

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>,

Source§

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.