#[repr(C)]pub struct D3D12_RESOURCE_TRANSITION_BARRIER {
pub pResource: ManuallyDrop<Option<ID3D12Resource>>,
pub Subresource: u32,
pub StateBefore: D3D12_RESOURCE_STATES,
pub StateAfter: D3D12_RESOURCE_STATES,
}
Fields§
§pResource: ManuallyDrop<Option<ID3D12Resource>>
§Subresource: u32
§StateBefore: D3D12_RESOURCE_STATES
§StateAfter: D3D12_RESOURCE_STATES
Trait Implementations§
§impl Clone for D3D12_RESOURCE_TRANSITION_BARRIER
impl Clone for D3D12_RESOURCE_TRANSITION_BARRIER
§impl Debug for D3D12_RESOURCE_TRANSITION_BARRIER
impl Debug for D3D12_RESOURCE_TRANSITION_BARRIER
§impl PartialEq for D3D12_RESOURCE_TRANSITION_BARRIER
impl PartialEq for D3D12_RESOURCE_TRANSITION_BARRIER
§fn eq(&self, other: &D3D12_RESOURCE_TRANSITION_BARRIER) -> bool
fn eq(&self, other: &D3D12_RESOURCE_TRANSITION_BARRIER) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for D3D12_RESOURCE_TRANSITION_BARRIER
impl StructuralPartialEq for D3D12_RESOURCE_TRANSITION_BARRIER
Auto Trait Implementations§
impl Freeze for D3D12_RESOURCE_TRANSITION_BARRIER
impl RefUnwindSafe for D3D12_RESOURCE_TRANSITION_BARRIER
impl Send for D3D12_RESOURCE_TRANSITION_BARRIER
impl Sync for D3D12_RESOURCE_TRANSITION_BARRIER
impl Unpin for D3D12_RESOURCE_TRANSITION_BARRIER
impl UnwindSafe for D3D12_RESOURCE_TRANSITION_BARRIER
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§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
)