MCPcopy Index your code
hub / github.com/endbasic/endbasic / get_mut

Method get_mut

core/src/mem.rs:269–271  ·  view source on GitHub ↗

Returns the heap entry at `index` for mutation.

(&mut self, index: usize)

Source from the content-addressed store, hash-verified

267
268 /// Returns the heap entry at `index` for mutation.
269 pub(crate) fn get_mut(&mut self, index: usize) -> &mut HeapDatum {
270 &mut self.data[index]
271 }
272}
273
274/// Tagged pointers for constant and heap addresses.

Callers 4

writeMethod · 0.45
get_drive_mutMethod · 0.45
putMethod · 0.45
update_aclsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected