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

Method flags

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

Returns the flags of the ArrayDescriptor

(&self)

Source from the content-addressed store, hash-verified

291
292 /// Returns the flags of the ArrayDescriptor
293 pub fn flags(&self) -> ArrayObjectFlags {
294 ArrayObjectFlags::from_bits_truncate(self.desc.Flags)
295 }
296
297 /// Sets the flags of the ArrayDescriptor.
298 pub fn set_flags(&mut self, flags: ArrayObjectFlags) {

Callers 2

from_descriptorMethod · 0.45
PassWrapper.cppFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected