[][src]Struct cuda_runtime_sys::cudaResourceViewDesc

#[repr(C)]
pub struct cudaResourceViewDesc {
    pub format: cudaResourceViewFormat,
    pub width: usize,
    pub height: usize,
    pub depth: usize,
    pub firstMipmapLevel: c_uint,
    pub lastMipmapLevel: c_uint,
    pub firstLayer: c_uint,
    pub lastLayer: c_uint,
}

Fields

format: cudaResourceViewFormatwidth: usizeheight: usizedepth: usizefirstMipmapLevel: c_uintlastMipmapLevel: c_uintfirstLayer: c_uintlastLayer: c_uint

Trait Implementations

impl Clone for cudaResourceViewDesc[src]

impl Copy for cudaResourceViewDesc[src]

impl Debug for cudaResourceViewDesc[src]

impl Default for cudaResourceViewDesc[src]

impl Eq for cudaResourceViewDesc[src]

impl Hash for cudaResourceViewDesc[src]

impl Ord for cudaResourceViewDesc[src]

impl PartialEq<cudaResourceViewDesc> for cudaResourceViewDesc[src]

impl PartialOrd<cudaResourceViewDesc> for cudaResourceViewDesc[src]

impl StructuralEq for cudaResourceViewDesc[src]

impl StructuralPartialEq for cudaResourceViewDesc[src]

Auto Trait Implementations

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.