Struct gfx::tex::ResourceDesc []

pub struct ResourceDesc {
    pub channel: ChannelType,
    pub min: u8,
    pub max: u8,
    pub swizzle: Swizzle,
}

Texture resource view descriptor.

Fields

channel: ChannelType min: u8 max: u8 swizzle: Swizzle

Trait Implementations

impl Debug for ResourceDesc

fn fmt(&self, __arg_0: &mut Formatter) -> Result<()Error>

Formats the value using the given formatter.

impl Clone for ResourceDesc

fn clone(&self) -> ResourceDesc

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 ResourceDesc

impl Hash for ResourceDesc

fn hash<__H>(&self, __arg_0: &mut __H) where __H: Hasher

impl PartialOrd<ResourceDesc> for ResourceDesc

fn partial_cmp(&self, __arg_0: &ResourceDesc) -> Option<Ordering>

fn lt(&self, __arg_0: &ResourceDesc) -> bool

fn le(&self, __arg_0: &ResourceDesc) -> bool

fn gt(&self, __arg_0: &ResourceDesc) -> bool

fn ge(&self, __arg_0: &ResourceDesc) -> bool

impl PartialEq<ResourceDesc> for ResourceDesc

fn eq(&self, __arg_0: &ResourceDesc) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, __arg_0: &ResourceDesc) -> bool

This method tests for !=.

impl Ord for ResourceDesc

fn cmp(&self, __arg_0: &ResourceDesc) -> Ordering

impl Eq for ResourceDesc