Struct gfx::texture::RenderDesc
source · pub struct RenderDesc {
pub channel: ChannelType,
pub level: u8,
pub layer: Option<u16>,
}
Expand description
Texture render view descriptor.
Fields§
§channel: ChannelType
§level: u8
§layer: Option<u16>
Trait Implementations§
source§impl Clone for RenderDesc
impl Clone for RenderDesc
source§fn clone(&self) -> RenderDesc
fn clone(&self) -> RenderDesc
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 RenderDesc
impl Debug for RenderDesc
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 RenderDesc
impl Hash for RenderDesc
source§impl Ord for RenderDesc
impl Ord for RenderDesc
source§fn cmp(&self, other: &RenderDesc) -> Ordering
fn cmp(&self, other: &RenderDesc) -> 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<RenderDesc> for RenderDesc
impl PartialEq<RenderDesc> for RenderDesc
source§fn eq(&self, other: &RenderDesc) -> bool
fn eq(&self, other: &RenderDesc) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<RenderDesc> for RenderDesc
impl PartialOrd<RenderDesc> for RenderDesc
source§fn partial_cmp(&self, other: &RenderDesc) -> Option<Ordering>
fn partial_cmp(&self, other: &RenderDesc) -> 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