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: ChannelTypelayer: Option<u16>min: u8max: u8swizzle: Swizzle

Trait Implementations

impl Clone for ResourceDesc[src]

impl Copy for ResourceDesc[src]

impl Debug for ResourceDesc[src]

impl Eq for ResourceDesc[src]

impl Hash for ResourceDesc[src]

impl Ord for ResourceDesc[src]

impl PartialEq<ResourceDesc> for ResourceDesc[src]

impl PartialOrd<ResourceDesc> for ResourceDesc[src]

impl StructuralEq for ResourceDesc[src]

impl StructuralPartialEq for ResourceDesc[src]

Auto Trait Implementations

impl RefUnwindSafe for ResourceDesc

impl Send for ResourceDesc

impl Sync for ResourceDesc

impl Unpin for ResourceDesc

impl UnwindSafe for ResourceDesc

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.