#[repr(C)]
pub struct ID3D12CommandAllocator { pub lpVtbl: *const ID3D12CommandAllocatorVtbl, }

Fields§

§lpVtbl: *const ID3D12CommandAllocatorVtbl

Implementations§

source§

impl ID3D12CommandAllocator

source

pub unsafe fn Reset(&self) -> i32

Methods from Deref<Target = ID3D12DeviceChild>§

source

pub unsafe fn GetDevice( &self, riid: *const GUID, ppvDevice: *mut *mut c_void ) -> i32

Methods from Deref<Target = ID3D12Object>§

source

pub unsafe fn GetPrivateData( &self, guid: *const GUID, pDataSize: *mut u32, pData: *mut c_void ) -> i32

source

pub unsafe fn SetPrivateData( &self, guid: *const GUID, DataSize: u32, pData: *const c_void ) -> i32

source

pub unsafe fn SetPrivateDataInterface( &self, guid: *const GUID, pData: *const IUnknown ) -> i32

source

pub unsafe fn SetName(&self, Name: *const u16) -> i32

Methods from Deref<Target = IUnknown>§

source

pub unsafe fn QueryInterface( &self, riid: *const GUID, ppvObject: *mut *mut c_void ) -> i32

source

pub unsafe fn AddRef(&self) -> u32

source

pub unsafe fn Release(&self) -> u32

Trait Implementations§

source§

impl Deref for ID3D12CommandAllocator

§

type Target = ID3D12Pageable

The resulting type after dereferencing.
source§

fn deref(&self) -> &ID3D12Pageable

Dereferences the value.
source§

impl Interface for ID3D12CommandAllocator

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.