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

Trait Implementations

impl Ord for ResourceDesc
[src]

[src]

impl Copy for ResourceDesc
[src]

impl Clone for ResourceDesc
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialOrd<ResourceDesc> for ResourceDesc
[src]

[src]

[src]

[src]

[src]

[src]

impl Hash for ResourceDesc
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl PartialEq<ResourceDesc> for ResourceDesc
[src]

[src]

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

[src]

This method tests for !=.

impl Debug for ResourceDesc
[src]

[src]

Formats the value using the given formatter.

impl Eq for ResourceDesc
[src]