[][src]Struct accel::memory::Ix1

pub struct Ix1 {
    pub width: usize,
    pub num_channels: NumChannels,
}

Spec of 1D Array

Fields

width: usizenum_channels: NumChannels

Methods

impl Ix1[src]

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

Constructs a new Ix1.

Trait Implementations

impl Add<Ix1> for Ix1[src]

type Output = Self

The resulting type after applying the + operator.

impl Clone for Ix1[src]

impl Copy for Ix1[src]

impl Debug for Ix1[src]

impl Dimension for Ix1[src]

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

impl From<usize> for Ix1[src]

impl PartialEq<Ix1> for Ix1[src]

impl StructuralPartialEq for Ix1[src]

impl Zero for Ix1[src]

Auto Trait Implementations

impl RefUnwindSafe for Ix1

impl Send for Ix1

impl Sync for Ix1

impl Unpin for Ix1

impl UnwindSafe for Ix1

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.