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 StructuralEq for ResourceStateOrBarrierLayout
impl StructuralPartialEq for ResourceStateOrBarrierLayout
Auto Trait Implementations§
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