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 Eq for ResourceDesc
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 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 Hash for ResourceDesc
impl Copy 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