Trait gpu_allocator::d3d12::ToWinapi

source ·
pub trait ToWinapi<T> {
    // Required methods
    fn as_winapi(&self) -> *const T;
    fn as_winapi_mut(&mut self) -> *mut T;
}
Expand description

Trait similar to AsRef/AsMut,

Required Methods§

source

fn as_winapi(&self) -> *const T

source

fn as_winapi_mut(&mut self) -> *mut T

Implementations on Foreign Types§

source§

impl ToWinapi<ID3D12Device> for ID3D12Device

source§

impl ToWinapi<ID3D12Heap> for ID3D12Heap

source§

impl ToWinapi<ID3D12Resource> for ID3D12Resource

Implementors§