Struct rustacuda::memory::array::ArrayDescriptor[][src]

pub struct ArrayDescriptor { /* fields omitted */ }
Expand description

Describes a CUDA Array

Implementations

Constructs an ArrayDescriptor from a CUDA Driver API Array Descriptor.

Constructs an ArrayDescriptor from dimensions, format, num_channels, and flags.

Creates a new ArrayDescriptor from a set of dimensions and format.

Returns the dimensions of the ArrayDescriptor

Sets the dimensions of the ArrayDescriptor

Returns the width of the ArrayDescripor

Sets the width of the ArrayDescriptor

Returns the height of the ArrayDescripor

Sets the height of the ArrayDescriptor

Returns the depth of the ArrayDescripor

Sets the depth of the ArrayDescriptor

Returns the format of the ArrayDescripor

Sets the format of the ArrayDescriptor

Returns the number of channels in the ArrayDescriptor

Sets the number of channels in the ArrayDescriptor

Returns the flags of the ArrayDescriptor

Sets the flags of the ArrayDescriptor.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.