pub enum ResourceStateOrBarrierLayout {
ResourceState(D3D12_RESOURCE_STATES),
BarrierLayout(D3D12_BARRIER_LAYOUT),
}
Variants§
Trait Implementations§
source§impl Clone for ResourceStateOrBarrierLayout
impl Clone for ResourceStateOrBarrierLayout
source§fn clone(&self) -> ResourceStateOrBarrierLayout
fn clone(&self) -> ResourceStateOrBarrierLayout
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 ResourceStateOrBarrierLayout
impl Debug for ResourceStateOrBarrierLayout
source§impl PartialEq for ResourceStateOrBarrierLayout
impl PartialEq for ResourceStateOrBarrierLayout
source§fn eq(&self, other: &ResourceStateOrBarrierLayout) -> bool
fn eq(&self, other: &ResourceStateOrBarrierLayout) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ResourceStateOrBarrierLayout
impl Eq for ResourceStateOrBarrierLayout
impl StructuralPartialEq for ResourceStateOrBarrierLayout
Auto Trait Implementations§
impl Freeze for ResourceStateOrBarrierLayout
impl RefUnwindSafe for ResourceStateOrBarrierLayout
impl Send for ResourceStateOrBarrierLayout
impl Sync for ResourceStateOrBarrierLayout
impl Unpin for ResourceStateOrBarrierLayout
impl UnwindSafe for ResourceStateOrBarrierLayout
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
source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)