MCPcopy Index your code
hub / github.com/aiscriptdev/aiscript / get

Method get

aiscript-vm/src/object.rs:65–67  ·  view source on GitHub ↗
(&self, index: usize)

Source from the content-addressed store, hash-verified

63 }
64
65 pub fn get(&self, index: usize) -> Option<Value<'gc>> {
66 self.data.get(index).copied()
67 }
68
69 pub fn set(&mut self, index: usize, value: Value<'gc>) -> Result<(), &'static str> {
70 match self.kind {

Callers 15

get_exportMethod · 0.45
get_moduleMethod · 0.45
get_variant_valueMethod · 0.45
resolve_typeMethod · 0.45
get_enumMethod · 0.45
generate_stmtMethod · 0.45
generate_functionMethod · 0.45
parse_instructionsMethod · 0.45
parse_modelMethod · 0.45
parse_toolsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected