[][src]Struct accel::memory::Ix2

pub struct Ix2 {
    pub width: usize,
    pub height: usize,
    pub num_channels: NumChannels,
}

Spec of 2D Array

Fields

width: usizeheight: usizenum_channels: NumChannels

Methods

impl Ix2[src]

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

Constructs a new Ix2.

Trait Implementations

impl Add<Ix2> for Ix2[src]

type Output = Self

The resulting type after applying the + operator.

impl Clone for Ix2[src]

impl Copy for Ix2[src]

impl Debug for Ix2[src]

impl Dimension for Ix2[src]

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

impl PartialEq<Ix2> for Ix2[src]

impl StructuralPartialEq for Ix2[src]

impl Zero for Ix2[src]

Auto Trait Implementations

impl RefUnwindSafe for Ix2

impl Send for Ix2

impl Sync for Ix2

impl Unpin for Ix2

impl UnwindSafe for Ix2

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.