Struct gfx_core::pso::DepthStencilInfo
[−]
[src]
pub struct DepthStencilInfo { pub depth: Option<Depth>, pub front: Option<StencilSide>, pub back: Option<StencilSide>, }
Depth and stencil state of the PSO.
Fields
depth: Option<Depth>
Optional depth test configuration
front: Option<StencilSide>
Optional stencil test on the front faces
back: Option<StencilSide>
Optional stencil test on the back faces
Trait Implementations
impl Clone for DepthStencilInfo
[src]
fn clone(&self) -> DepthStencilInfo
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for DepthStencilInfo
[src]
impl Debug for DepthStencilInfo
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Eq for DepthStencilInfo
[src]
impl Hash for DepthStencilInfo
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
[src]
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl PartialEq for DepthStencilInfo
[src]
fn eq(&self, __arg_0: &DepthStencilInfo) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &DepthStencilInfo) -> bool
[src]
This method tests for !=
.
impl From<Depth> for DepthStencilInfo
[src]
fn from(depth: Depth) -> DepthStencilInfo
[src]
Performs the conversion.
impl From<Stencil> for DepthStencilInfo
[src]
fn from(stencil: Stencil) -> DepthStencilInfo
[src]
Performs the conversion.