Struct gfx::tex::DepthStencilDesc
[−]
[src]
pub struct DepthStencilDesc { pub level: u8, pub layer: Option<u16>, pub flags: DepthStencilFlags, }
Texture depth-stencil view descriptor.
Fields
level: u8
layer: Option<u16>
flags: DepthStencilFlags
Trait Implementations
impl Debug for DepthStencilDesc
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter.
impl Clone for DepthStencilDesc
fn clone(&self) -> DepthStencilDesc
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Copy for DepthStencilDesc
impl Hash for DepthStencilDesc
impl PartialOrd<DepthStencilDesc> for DepthStencilDesc
fn partial_cmp(&self, __arg_0: &DepthStencilDesc) -> Option<Ordering>
fn lt(&self, __arg_0: &DepthStencilDesc) -> bool
fn le(&self, __arg_0: &DepthStencilDesc) -> bool
fn gt(&self, __arg_0: &DepthStencilDesc) -> bool
fn ge(&self, __arg_0: &DepthStencilDesc) -> bool
impl PartialEq<DepthStencilDesc> for DepthStencilDesc
fn eq(&self, __arg_0: &DepthStencilDesc) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &DepthStencilDesc) -> bool
This method tests for !=
.
impl Ord for DepthStencilDesc
fn cmp(&self, __arg_0: &DepthStencilDesc) -> Ordering
impl Eq for DepthStencilDesc
impl From<RenderDesc> for DepthStencilDesc
fn from(rd: RenderDesc) -> DepthStencilDesc
Performs the conversion.