Struct gfx::tex::ResourceDesc
[−]
[src]
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
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 !=.