MCPcopy Create free account
hub / github.com/Rust-GPU/rust-cuda / format

Method format

crates/cust/src/memory/array.rs:273–275  ·  view source on GitHub ↗

Returns the format of the ArrayDescripor

(&self)

Source from the content-addressed store, hash-verified

271
272 /// Returns the format of the ArrayDescripor
273 pub fn format(&self) -> ArrayFormat {
274 ArrayFormat::from_raw(self.desc.Format)
275 }
276
277 /// Sets the format of the ArrayDescriptor
278 pub fn set_format(&mut self, format: ArrayFormat) {

Callers 4

from_array_descMethod · 0.45
copy_fromMethod · 0.45
copy_toMethod · 0.45
as_host_vecMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected