Struct rust_gpu_tools::cuda::Buffer[][src]

pub struct Buffer<T> { /* fields omitted */ }
Expand description

A Buffer to be used for sending and receiving data to/from the GPU.

Trait Implementations

Formats the value using the given formatter. Read more

Converts into a C void pointer.

Returns the shared memory size. This is usally 0, except for LocalBuffers. This informations is used to allocate the memory correctly. 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.

Should always be Self

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.