MCPcopy Create free account
hub / github.com/cloud-hypervisor/cloud-hypervisor / set_index

Method set_index

pci/src/configuration.rs:1188–1191  ·  view source on GitHub ↗
(mut self, idx: usize)

Source from the content-addressed store, hash-verified

1186
1187 #[must_use]
1188 pub fn set_index(mut self, idx: usize) -> Self {
1189 self.idx = idx;
1190 self
1191 }
1192
1193 #[must_use]
1194 pub fn set_address(mut self, addr: u64) -> Self {

Callers 5

allocate_barsMethod · 0.80
allocate_barsMethod · 0.80
allocate_barsMethod · 0.80
allocate_barsMethod · 0.80
allocate_barsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected