Struct gfx::texture::DepthStencilDesc
source · pub struct DepthStencilDesc {
pub level: u8,
pub layer: Option<u16>,
pub flags: DepthStencilFlags,
}
Expand description
Texture depth-stencil view descriptor.
Fields§
§level: u8
§layer: Option<u16>
§flags: DepthStencilFlags
Trait Implementations§
source§impl Clone for DepthStencilDesc
impl Clone for DepthStencilDesc
source§fn clone(&self) -> DepthStencilDesc
fn clone(&self) -> DepthStencilDesc
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 Debug for DepthStencilDesc
impl Debug for DepthStencilDesc
source§impl From<RenderDesc> for DepthStencilDesc
impl From<RenderDesc> for DepthStencilDesc
source§fn from(rd: RenderDesc) -> DepthStencilDesc
fn from(rd: RenderDesc) -> DepthStencilDesc
Converts to this type from the input type.
source§impl Hash for DepthStencilDesc
impl Hash for DepthStencilDesc
source§impl Ord for DepthStencilDesc
impl Ord for DepthStencilDesc
source§fn cmp(&self, other: &DepthStencilDesc) -> Ordering
fn cmp(&self, other: &DepthStencilDesc) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<DepthStencilDesc> for DepthStencilDesc
impl PartialEq<DepthStencilDesc> for DepthStencilDesc
source§fn eq(&self, other: &DepthStencilDesc) -> bool
fn eq(&self, other: &DepthStencilDesc) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<DepthStencilDesc> for DepthStencilDesc
impl PartialOrd<DepthStencilDesc> for DepthStencilDesc
source§fn partial_cmp(&self, other: &DepthStencilDesc) -> Option<Ordering>
fn partial_cmp(&self, other: &DepthStencilDesc) -> Option<Ordering>
1.0.0 · source§fn 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 more