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 Ord for ResourceDesc
fn cmp(&self, __arg_0: &ResourceDesc) -> Ordering
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 Hash for ResourceDesc
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 Debug for ResourceDesc
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter.