Struct gpu_allocator::d3d12::winapi_d3d12::D3D12_CLEAR_VALUE_u
source · #[repr(C)]pub struct D3D12_CLEAR_VALUE_u(/* private fields */);
Implementations§
source§impl D3D12_CLEAR_VALUE_u
impl D3D12_CLEAR_VALUE_u
pub unsafe fn Color(&self) -> &[f32; 4]
pub unsafe fn Color_mut(&mut self) -> &mut [f32; 4]
pub unsafe fn DepthStencil(&self) -> &D3D12_DEPTH_STENCIL_VALUE
pub unsafe fn DepthStencil_mut(&mut self) -> &mut D3D12_DEPTH_STENCIL_VALUE
Trait Implementations§
source§impl Clone for D3D12_CLEAR_VALUE_u
impl Clone for D3D12_CLEAR_VALUE_u
source§fn clone(&self) -> D3D12_CLEAR_VALUE_u
fn clone(&self) -> D3D12_CLEAR_VALUE_u
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 Default for D3D12_CLEAR_VALUE_u
impl Default for D3D12_CLEAR_VALUE_u
source§fn default() -> D3D12_CLEAR_VALUE_u
fn default() -> D3D12_CLEAR_VALUE_u
Returns the “default value” for a type. Read more
impl Copy for D3D12_CLEAR_VALUE_u
Auto Trait Implementations§
impl RefUnwindSafe for D3D12_CLEAR_VALUE_u
impl Send for D3D12_CLEAR_VALUE_u
impl Sync for D3D12_CLEAR_VALUE_u
impl Unpin for D3D12_CLEAR_VALUE_u
impl UnwindSafe for D3D12_CLEAR_VALUE_u
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