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 duplicate 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
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: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.