[][src]Struct accel::memory::Ix2Layered

pub struct Ix2Layered {
    pub width: usize,
    pub height: usize,
    pub depth: usize,
    pub num_channels: NumChannels,
}

Spec of Layered 2D Array

Fields

width: usize

Width of each layer

height: usize

height of each layer

depth: usize

Depth of layer

num_channels: NumChannels

Methods

impl Ix2Layered[src]

pub fn new(width: usize, height: usize, depth: usize) -> Self[src]

Constructs a new Ix2Layered.

Trait Implementations

impl Add<Ix2Layered> for Ix2Layered[src]

type Output = Self

The resulting type after applying the + operator.

impl Clone for Ix2Layered[src]

impl Copy for Ix2Layered[src]

impl Debug for Ix2Layered[src]

impl Dimension for Ix2Layered[src]

impl From<(usize, usize, usize)> for Ix2Layered[src]

impl PartialEq<Ix2Layered> for Ix2Layered[src]

impl StructuralPartialEq for Ix2Layered[src]

impl Zero for Ix2Layered[src]

Auto Trait Implementations

impl RefUnwindSafe for Ix2Layered

impl Send for Ix2Layered

impl Sync for Ix2Layered

impl Unpin for Ix2Layered

impl UnwindSafe for Ix2Layered

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.