Enum gpu_allocator::d3d12::ID3D12DeviceVersion
source · pub enum ID3D12DeviceVersion {
Device(ID3D12Device),
Device10(ID3D12Device10),
}
Variants§
Device(ID3D12Device)
Basic device compatible with legacy barriers only, i.e. can only be used in conjunction
with ResourceStateOrBarrierLayout::ResourceState
.
Device10(ID3D12Device10)
Required for enhanced barrier support, i.e. when using
ResourceStateOrBarrierLayout::BarrierLayout
.
Trait Implementations§
source§impl Clone for ID3D12DeviceVersion
impl Clone for ID3D12DeviceVersion
source§fn clone(&self) -> ID3D12DeviceVersion
fn clone(&self) -> ID3D12DeviceVersion
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ID3D12DeviceVersion
impl Debug for ID3D12DeviceVersion
Auto Trait Implementations§
impl RefUnwindSafe for ID3D12DeviceVersion
impl Send for ID3D12DeviceVersion
impl Sync for ID3D12DeviceVersion
impl Unpin for ID3D12DeviceVersion
impl UnwindSafe for ID3D12DeviceVersion
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