MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / as_slice

Method as_slice

crates/openshell-core/src/gpu.rs:88–90  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

86
87 #[must_use]
88 pub fn as_slice(&self) -> &[String] {
89 &self.device_ids
90 }
91
92 #[must_use]
93 pub fn is_empty(&self) -> bool {

Calls

no outgoing calls