Struct gfx::texture::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 Ord for DepthStencilDesc
[src]
fn cmp(&self, __arg_0: &DepthStencilDesc) -> Ordering
[src]
impl Copy for DepthStencilDesc
[src]
impl Clone for DepthStencilDesc
[src]
fn clone(&self) -> DepthStencilDesc
[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 PartialOrd<DepthStencilDesc> for DepthStencilDesc
[src]
fn partial_cmp(&self, __arg_0: &DepthStencilDesc) -> Option<Ordering>
[src]
fn lt(&self, __arg_0: &DepthStencilDesc) -> bool
[src]
fn le(&self, __arg_0: &DepthStencilDesc) -> bool
[src]
fn gt(&self, __arg_0: &DepthStencilDesc) -> bool
[src]
fn ge(&self, __arg_0: &DepthStencilDesc) -> bool
[src]
impl Hash for DepthStencilDesc
[src]
fn hash<__H>(&self, __arg_0: &mut __H) where
__H: Hasher,
[src]
__H: Hasher,
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 From<RenderDesc> for DepthStencilDesc
[src]
fn from(rd: RenderDesc) -> DepthStencilDesc
[src]
Performs the conversion.
impl PartialEq<DepthStencilDesc> for DepthStencilDesc
[src]
fn eq(&self, __arg_0: &DepthStencilDesc) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &DepthStencilDesc) -> bool
[src]
This method tests for !=
.
impl Debug for DepthStencilDesc
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
[src]
Formats the value using the given formatter.