Struct gfx_hal::command::ClearDepthStencil
source · pub struct ClearDepthStencil(pub DepthValue, pub StencilValue);
Expand description
Depth-stencil target clear values.
Tuple Fields
0: DepthValue
1: StencilValue
Trait Implementations
sourceimpl Clone for ClearDepthStencil
impl Clone for ClearDepthStencil
sourcefn clone(&self) -> ClearDepthStencil
fn clone(&self) -> ClearDepthStencil
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 ClearDepthStencil
impl Debug for ClearDepthStencil
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.
sourceimpl PartialEq<ClearDepthStencil> for ClearDepthStencil
impl PartialEq<ClearDepthStencil> for ClearDepthStencil
sourcefn eq(&self, other: &ClearDepthStencil) -> bool
fn eq(&self, other: &ClearDepthStencil) -> bool
sourceimpl PartialOrd<ClearDepthStencil> for ClearDepthStencil
impl PartialOrd<ClearDepthStencil> for ClearDepthStencil
sourcefn partial_cmp(&self, other: &ClearDepthStencil) -> Option<Ordering>
fn partial_cmp(&self, other: &ClearDepthStencil) -> Option<Ordering>
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for ClearDepthStencil
impl StructuralPartialEq for ClearDepthStencil
Auto Trait Implementations
impl RefUnwindSafe for ClearDepthStencil
impl Send for ClearDepthStencil
impl Sync for ClearDepthStencil
impl Unpin for ClearDepthStencil
impl UnwindSafe for ClearDepthStencil
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