Struct gfx::texture::ResourceDesc
[−]
[src]
pub struct ResourceDesc { pub channel: ChannelType, pub layer: Option<u16>, pub min: u8, pub max: u8, pub swizzle: Swizzle, }
Texture resource view descriptor.
Fields
channel: ChannelType
layer: Option<u16>
min: u8
max: u8
swizzle: Swizzle
Trait Implementations
impl Ord for ResourceDesc
[src]
fn cmp(&self, __arg_0: &ResourceDesc) -> Ordering
[src]
impl Copy for ResourceDesc
[src]
impl Clone for ResourceDesc
[src]
fn clone(&self) -> ResourceDesc
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialOrd<ResourceDesc> for ResourceDesc
[src]
fn partial_cmp(&self, __arg_0: &ResourceDesc) -> Option<Ordering>
[src]
fn lt(&self, __arg_0: &ResourceDesc) -> bool
[src]
fn le(&self, __arg_0: &ResourceDesc) -> bool
[src]
fn gt(&self, __arg_0: &ResourceDesc) -> bool
[src]
fn ge(&self, __arg_0: &ResourceDesc) -> bool
[src]
impl Hash for ResourceDesc
[src]
fn hash<__H>(&self, __arg_0: &mut __H) where
__H: Hasher,
[src]
__H: Hasher,
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl PartialEq<ResourceDesc> for ResourceDesc
[src]
fn eq(&self, __arg_0: &ResourceDesc) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ResourceDesc) -> bool
[src]
This method tests for !=
.
impl Debug for ResourceDesc
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
[src]
Formats the value using the given formatter.