MCPcopy Index your code
hub / github.com/ProgrammingRust/examples / space_mut

Method space_mut

gap-buffer/src/lib.rs:57–59  ·  view source on GitHub ↗

Return a mutable pointer to the `index`'th element of the underlying storage, regardless of the gap. Safety: `index` must be a valid index into `self.storage`.

(&mut self, index: usize)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

set_positionMethod · 0.80
insertMethod · 0.80
dropMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected