Struct gfx_hal::command::ClearDepthStencilRaw
source · Expand description
A variant of ClearDepthStencil
that has a #[repr(C)]
layout
and so is used when a known layout is needed.
Fields
depth: f32
Depth value
stencil: u32
Stencil value
Trait Implementations
sourceimpl Clone for ClearDepthStencilRaw
impl Clone for ClearDepthStencilRaw
sourcefn clone(&self) -> ClearDepthStencilRaw
fn clone(&self) -> ClearDepthStencilRaw
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ClearDepthStencilRaw
impl Debug for ClearDepthStencilRaw
sourceimpl From<ClearDepthStencil> for ClearDepthStencilRaw
impl From<ClearDepthStencil> for ClearDepthStencilRaw
sourcefn from(value: ClearDepthStencil) -> Self
fn from(value: ClearDepthStencil) -> Self
Converts to this type from the input type.
impl Copy for ClearDepthStencilRaw
Auto Trait Implementations
impl RefUnwindSafe for ClearDepthStencilRaw
impl Send for ClearDepthStencilRaw
impl Sync for ClearDepthStencilRaw
impl Unpin for ClearDepthStencilRaw
impl UnwindSafe for ClearDepthStencilRaw
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more