Struct windows::Wdk::Graphics::Direct3D::D3DNTHAL_CALLBACKS

#[repr(C)]
pub struct D3DNTHAL_CALLBACKS {
Show 35 fields pub dwSize: u32, pub ContextCreate: LPD3DNTHAL_CONTEXTCREATECB, pub ContextDestroy: LPD3DNTHAL_CONTEXTDESTROYCB, pub ContextDestroyAll: LPD3DNTHAL_CONTEXTDESTROYALLCB, pub SceneCapture: LPD3DNTHAL_SCENECAPTURECB, pub dwReserved10: *mut c_void, pub dwReserved11: *mut c_void, pub dwReserved22: *mut c_void, pub dwReserved23: *mut c_void, pub dwReserved: usize, pub TextureCreate: LPD3DNTHAL_TEXTURECREATECB, pub TextureDestroy: LPD3DNTHAL_TEXTUREDESTROYCB, pub TextureSwap: LPD3DNTHAL_TEXTURESWAPCB, pub TextureGetSurf: LPD3DNTHAL_TEXTUREGETSURFCB, pub dwReserved12: *mut c_void, pub dwReserved13: *mut c_void, pub dwReserved14: *mut c_void, pub dwReserved15: *mut c_void, pub dwReserved16: *mut c_void, pub dwReserved17: *mut c_void, pub dwReserved18: *mut c_void, pub dwReserved19: *mut c_void, pub dwReserved20: *mut c_void, pub dwReserved21: *mut c_void, pub dwReserved24: *mut c_void, pub dwReserved0: usize, pub dwReserved1: usize, pub dwReserved2: usize, pub dwReserved3: usize, pub dwReserved4: usize, pub dwReserved5: usize, pub dwReserved6: usize, pub dwReserved7: usize, pub dwReserved8: usize, pub dwReserved9: usize,
}

Fields§

§dwSize: u32§ContextCreate: LPD3DNTHAL_CONTEXTCREATECB§ContextDestroy: LPD3DNTHAL_CONTEXTDESTROYCB§ContextDestroyAll: LPD3DNTHAL_CONTEXTDESTROYALLCB§SceneCapture: LPD3DNTHAL_SCENECAPTURECB§dwReserved10: *mut c_void§dwReserved11: *mut c_void§dwReserved22: *mut c_void§dwReserved23: *mut c_void§dwReserved: usize§TextureCreate: LPD3DNTHAL_TEXTURECREATECB§TextureDestroy: LPD3DNTHAL_TEXTUREDESTROYCB§TextureSwap: LPD3DNTHAL_TEXTURESWAPCB§TextureGetSurf: LPD3DNTHAL_TEXTUREGETSURFCB§dwReserved12: *mut c_void§dwReserved13: *mut c_void§dwReserved14: *mut c_void§dwReserved15: *mut c_void§dwReserved16: *mut c_void§dwReserved17: *mut c_void§dwReserved18: *mut c_void§dwReserved19: *mut c_void§dwReserved20: *mut c_void§dwReserved21: *mut c_void§dwReserved24: *mut c_void§dwReserved0: usize§dwReserved1: usize§dwReserved2: usize§dwReserved3: usize§dwReserved4: usize§dwReserved5: usize§dwReserved6: usize§dwReserved7: usize§dwReserved8: usize§dwReserved9: usize

Trait Implementations§

§

impl Clone for D3DNTHAL_CALLBACKS

§

fn clone(&self) -> D3DNTHAL_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 D3DNTHAL_CALLBACKS

§

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

Formats the value using the given formatter. Read more
§

impl Default for D3DNTHAL_CALLBACKS

§

fn default() -> Self

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

impl Copy for D3DNTHAL_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§

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

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> CloneToUninit for T
where T: Copy,

source§

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

🔬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.

§

impl<T, U> Param<T, CopyType> for U
where T: TypeKind<TypeKind = CopyType> + Clone, U: TypeKind<TypeKind = CopyType> + Clone + CanInto<T>,

§

unsafe fn param(self) -> ParamValue<T>

source§

impl<T> ToOwned for T
where T: Clone,

§

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

§

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.